:root {
    --te-primary: #d35400;
    --te-accent: #e67e22;
    --te-deep: #c0392b;
    --te-bg: #fef5e7;
    --te-bg-2: #fbe8cd;
    --te-bg-3: #f7d9b4;
    --te-ink: #35200f;
    --te-ink-soft: #6a4a33;
    --te-link: #a33c00;
    --te-line: #d9a877;
    --te-line-strong: #c07a3c;
    --te-card-bg: rgba(254, 245, 231, 0.55);
    --te-header-h: 68px;
    --te-radius: 10px;
    --te-font-head: 'Bitter', Georgia, 'Times New Roman', serif;
    --te-font-body: 'Cabin', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --te-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--te-header-h) + 20px);
    -webkit-text-size-adjust: 100%;
}

[hidden] {
    display: none !important;
}

body.te-body {
    margin: 0;
    font-family: var(--te-font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--te-ink);
    background-color: var(--te-bg);
    background-image:
        radial-gradient(1200px 600px at 12% -10%, rgba(230, 126, 34, 0.14), transparent 70%),
        radial-gradient(900px 500px at 100% 0%, rgba(192, 57, 43, 0.08), transparent 70%);
    background-attachment: fixed;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.te-body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.55;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cfilter id='v' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.007 0.018' numOctaves='5' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0.62 0 0 0 0 0.34 0 0 0 0 0.16 0 0 0 -10 5.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23v)' opacity='0.5'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.22 0 0 0 0 0.1 0 0 0 0.9 -0.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.35'/%3E%3C/svg%3E");
    background-size: 700px 700px, 240px 240px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--te-link);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--te-deep);
}

:focus-visible {
    outline: 2px solid var(--te-primary);
    outline-offset: 3px;
    border-radius: 3px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--te-font-head);
    color: var(--te-ink);
    line-height: 1.22;
    margin: 0 0 0.6em;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2rem, 4.4vw, 3.05rem);
}

h2 {
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
}

h3 {
    font-size: 1.25rem;
}

p {
    margin: 0 0 1.1em;
}

ul,
ol {
    margin: 0 0 1.2em;
    padding-left: 1.3em;
}

.te-skip {
    position: absolute;
    left: -999px;
    top: 8px;
    background: var(--te-ink);
    color: var(--te-bg);
    padding: 0.6rem 1rem;
    z-index: 200;
}

.te-skip:focus {
    left: 8px;
}

.te-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--te-header-h);
    z-index: 50;
    background: rgba(254, 245, 231, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1.5px solid var(--te-line);
}

.te-header-inner {
    max-width: 1240px;
    height: 100%;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.te-logo {
    justify-self: start;
    display: inline-flex;
    align-items: center;
}

.te-logo img {
    width: 180px;
    height: 36px;
}

.te-nav-list {
    display: flex;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.te-nav-link {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    color: var(--te-ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.97rem;
    background-image: linear-gradient(var(--te-primary), var(--te-primary));
    background-repeat: no-repeat;
    background-position: 0.85rem calc(100% - 0.25rem);
    background-size: 0 2px;
    transition: background-size 0.3s var(--te-ease), color 0.2s;
}

.te-nav-link:hover,
.te-nav-link.is-active {
    color: var(--te-primary);
    background-size: calc(100% - 1.7rem) 2px;
}

.te-burger {
    display: none;
    justify-self: end;
    width: 46px;
    height: 46px;
    padding: 0;
    background: transparent;
    border: 1.5px solid var(--te-line-strong);
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.te-burger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--te-ink);
    transition: transform 0.3s var(--te-ease), opacity 0.2s;
}

.te-burger[aria-expanded='true'] .te-burger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.te-burger[aria-expanded='true'] .te-burger-bar:nth-child(2) {
    opacity: 0;
}

.te-burger[aria-expanded='true'] .te-burger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.te-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(53, 32, 15, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.te-overlay.is-open {
    opacity: 1;
}

.te-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 70;
    background: var(--te-bg);
    border-bottom: 3px solid var(--te-primary);
    box-shadow: 0 18px 40px rgba(53, 32, 15, 0.25);
    max-height: 92vh;
    overflow-y: auto;
}

.te-drawer--topsheet {
    transform: translateY(-105%);
    transition: transform 0.38s var(--te-ease);
}

.te-drawer--topsheet.is-open {
    transform: translateY(0);
}

.te-drawer-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 1.75rem;
}

.te-drawer-title {
    font-family: var(--te-font-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--te-primary);
    margin-bottom: 0.6rem;
}

.te-drawer-list {
    list-style: none;
    margin: 0 0 1.2rem;
    padding: 0;
}

.te-drawer-link {
    display: block;
    padding: 0.75rem 0.2rem;
    color: var(--te-ink);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 1px solid var(--te-line);
}

.te-drawer-link:hover,
.te-drawer-link.is-active {
    color: var(--te-primary);
    padding-left: 0.7rem;
    transition: padding-left 0.25s var(--te-ease);
}

.te-drawer-close {
    font: inherit;
    font-weight: 600;
    background: transparent;
    color: var(--te-ink);
    border: 1.5px solid var(--te-line-strong);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
}

body.te-lock {
    overflow: hidden;
}

.te-main {
    flex: 1 0 auto;
    padding-top: var(--te-header-h);
    width: 100%;
}

.te-strip {
    border-bottom: 1px dashed var(--te-line);
    background: rgba(247, 217, 180, 0.35);
}

.te-strip-text {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.55rem 1.25rem;
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--te-ink-soft);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.te-strip-text strong {
    color: var(--te-ink);
}

.te-strip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--te-primary);
    display: inline-block;
}

.te-strip-sep {
    color: var(--te-line-strong);
}

.te-layout {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
    gap: 2.25rem;
    align-items: start;
}

.te-aside {
    position: relative;
    align-self: stretch;
}

.te-aside-card {
    border: 1.5px solid var(--te-line-strong);
    border-radius: var(--te-radius);
    background: var(--te-card-bg);
    padding: 1.1rem 1.1rem 0.8rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.te-aside-card.is-pinned {
    position: fixed;
    z-index: 5;
    background: rgba(254, 245, 231, 0.96);
}

.te-aside-card.is-bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.te-aside-title {
    font-family: var(--te-font-head);
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0 0 0.1rem;
    color: var(--te-primary);
}

.te-aside-meta {
    margin: 0 0 0.9rem;
    font-size: 0.84rem;
    color: var(--te-ink-soft);
}

.te-aside-label {
    margin: 0.9rem 0 0.35rem;
    font-size: 0.74rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--te-ink-soft);
}

.te-aside-list {
    list-style: none;
    margin: 0 0 0.5rem;
    padding: 0;
}

.te-aside-list li {
    margin: 0;
}

.te-aside-list a {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
    padding: 0.28rem 0;
    color: var(--te-ink);
    text-decoration: none;
    border-bottom: 1px solid rgba(217, 168, 119, 0.5);
    transition: color 0.2s, padding-left 0.25s var(--te-ease);
}

.te-aside-list a:hover {
    color: var(--te-primary);
    padding-left: 0.3rem;
}

.te-aside-rank {
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    line-height: 1.2rem;
    text-align: center;
    border: 1.5px solid var(--te-primary);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--te-primary);
}

.te-content {
    min-width: 0;
}

.te-crumbs {
    margin: 0 0 1.4rem;
    font-size: 0.88rem;
}

.te-crumbs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.te-crumbs-item + .te-crumbs-item::before {
    content: '/';
    margin-right: 0.35rem;
    color: var(--te-line-strong);
}

.te-crumbs-item {
    color: var(--te-ink-soft);
}

.te-hero {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2rem 1.25rem 0;
}

.te-hero-frame {
    border: 1.5px solid var(--te-line-strong);
    border-radius: 16px;
    padding: 2.4rem 2.4rem;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 2.5rem;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(254, 245, 231, 0.7) 0%, rgba(247, 217, 180, 0.55) 55%, rgba(230, 126, 34, 0.22) 100%);
}

.te-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--te-deep);
    margin-bottom: 0.9rem;
}

.te-hero-lead {
    font-size: 1.15rem;
    color: var(--te-ink-soft);
    max-width: 60ch;
}

.te-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.6rem 0 1.2rem;
}

.te-hero-facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.88rem;
}

.te-hero-facts li {
    border: 1px solid var(--te-line-strong);
    border-radius: 999px;
    padding: 0.18rem 0.75rem;
    color: var(--te-ink-soft);
}

.te-device {
    justify-self: center;
    width: 100%;
    max-width: 250px;
    margin: 0;
}

.te-device-body {
    border: 3px solid var(--te-ink);
    border-radius: 34px;
    padding: 14px 10px 12px;
    background: var(--te-ink);
    box-shadow: 14px 14px 0 rgba(211, 84, 0, 0.18);
    position: relative;
}

.te-device-notch {
    display: block;
    width: 62px;
    height: 6px;
    border-radius: 6px;
    background: rgba(254, 245, 231, 0.35);
    margin: 0 auto 10px;
}

.te-device-screen {
    border-radius: 18px;
    overflow: hidden;
    background: var(--te-bg);
}

.te-device-screen img {
    width: 100%;
    aspect-ratio: 166 / 296;
    object-fit: cover;
}

.te-device-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.7rem;
    border-top: 1.5px solid var(--te-line);
    font-size: 0.8rem;
    line-height: 1.25;
}

.te-device-bar img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    flex: 0 0 auto;
}

.te-device-bar strong {
    display: block;
    font-size: 0.82rem;
}

.te-device-home {
    display: block;
    width: 74px;
    height: 4px;
    border-radius: 4px;
    background: rgba(254, 245, 231, 0.5);
    margin: 10px auto 0;
}

.te-device-caption {
    margin: 1.2rem 0 0;
    font-size: 0.82rem;
    text-align: center;
    color: var(--te-ink-soft);
}

.te-btn {
    display: inline-block;
    font: inherit;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    color: var(--te-ink);
    text-decoration: none;
    padding: 0.8rem 1.35rem 0.85rem;
    background-color: transparent;
    background-image: linear-gradient(var(--te-primary), var(--te-primary));
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0 4px;
    border: 1.5px solid var(--te-primary);
    border-radius: 6px;
    cursor: pointer;
    transition: background-size 0.35s var(--te-ease), color 0.2s;
}

.te-btn:hover,
.te-btn:focus-visible {
    color: var(--te-primary);
    background-size: 100% 4px;
}

.te-btn--quiet {
    border-color: var(--te-line-strong);
    background-image: linear-gradient(var(--te-ink-soft), var(--te-ink-soft));
}

.te-btn--quiet:hover,
.te-btn--quiet:focus-visible {
    color: var(--te-ink);
}

.te-btn--small {
    padding: 0.5rem 1rem 0.55rem;
    font-size: 0.93rem;
}

.te-link-arrow {
    font-weight: 700;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0 2px;
    transition: background-size 0.3s var(--te-ease);
    padding-bottom: 2px;
}

.te-link-arrow:hover {
    background-size: 100% 2px;
}

.te-section {
    margin: 0 0 3.2rem;
}

.te-section-head {
    margin-bottom: 1.4rem;
}

.te-section-head p {
    color: var(--te-ink-soft);
    max-width: 68ch;
    margin: 0;
}

.te-card {
    border: 1.5px solid var(--te-line-strong);
    border-radius: var(--te-radius);
    background: transparent;
    padding: 1.4rem;
    transition: border-color 0.25s, transform 0.3s var(--te-ease);
}

a.te-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.te-card:hover {
    border-color: var(--te-primary);
}

.te-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.te-timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1.6rem;
    border-left: 2px solid var(--te-line-strong);
}

.te-timeline-step {
    position: relative;
    padding: 0 0 1.5rem 1.3rem;
}

.te-timeline-step:last-child {
    padding-bottom: 0;
}

.te-timeline-step::before {
    content: '';
    position: absolute;
    left: calc(-1.6rem - 7px);
    top: 0.45rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--te-bg);
    border: 3px solid var(--te-primary);
}

.te-timeline-step h3 {
    margin-bottom: 0.25rem;
    font-size: 1.12rem;
}

.te-timeline-step p {
    margin: 0;
    color: var(--te-ink-soft);
}

.te-timeline-day {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--te-deep);
}

.te-rank-list {
    list-style: none;
    margin: 0 0 1.8rem;
    padding: 0;
    display: grid;
    gap: 1.2rem;
}

.te-rank-card {
    border: 1.5px solid var(--te-line-strong);
    border-radius: 12px;
    padding: 1.4rem;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 0.4rem 1.3rem;
    background: transparent;
    transition: border-color 0.25s;
}

.te-rank-card:hover {
    border-color: var(--te-primary);
}

.te-rank-side {
    text-align: center;
}

.te-rank-no {
    display: block;
    font-family: var(--te-font-head);
    font-weight: 700;
    font-size: 2.1rem;
    line-height: 1;
    color: var(--te-primary);
    margin-bottom: 0.5rem;
}

.te-rank-icon {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    border: 1.5px solid var(--te-line-strong);
}

.te-rank-body h3 {
    margin-bottom: 0.1rem;
    font-size: 1.3rem;
}

.te-rank-dev {
    margin: 0 0 0.7rem;
    color: var(--te-ink-soft);
    font-size: 0.95rem;
}

.te-tags {
    list-style: none;
    margin: 0 0 0.9rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.te-tag {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.15rem 0.7rem;
    border: 1.5px solid var(--te-primary);
    border-radius: 999px;
    color: var(--te-primary);
}

.te-tag--alt {
    border-color: var(--te-deep);
    color: var(--te-deep);
}

.te-rank-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.5rem 1rem;
    margin: 0 0 1rem;
    font-size: 0.92rem;
}

.te-rank-facts dt {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--te-ink-soft);
}

.te-rank-facts dd {
    margin: 0;
    font-weight: 600;
}

.te-rank-facts div {
    min-width: 0;
}

.te-rank-why {
    margin: 0 0 1rem;
    color: var(--te-ink-soft);
}

.te-rank-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
    align-items: center;
}

.te-table-wrap {
    overflow-x: auto;
    border: 1.5px solid var(--te-line-strong);
    border-radius: var(--te-radius);
    margin: 0 0 1.6rem;
}

.te-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    line-height: 1.45;
    min-width: 560px;
}

.te-table caption {
    text-align: left;
    padding: 0.8rem 1rem;
    font-weight: 700;
    font-family: var(--te-font-head);
    border-bottom: 1.5px solid var(--te-line-strong);
}

.te-table th,
.te-table td {
    padding: 0.7rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--te-line);
}

.te-table thead th {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--te-ink-soft);
    background: rgba(247, 217, 180, 0.4);
}

.te-table tbody tr:last-child th,
.te-table tbody tr:last-child td {
    border-bottom: 0;
}

.te-table tbody tr:hover {
    background: rgba(230, 126, 34, 0.07);
}

.te-chart {
    border: 1.5px solid var(--te-line-strong);
    border-radius: var(--te-radius);
    padding: 1.4rem;
}

.te-chart-group {
    margin: 0 0 1.5rem;
}

.te-chart-group:last-of-type {
    margin-bottom: 0.4rem;
}

.te-chart-title {
    font-weight: 700;
    margin: 0 0 0.6rem;
    font-family: var(--te-font-head);
}

.te-bar-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 78px;
    gap: 0.8rem;
    align-items: center;
    margin: 0 0 0.55rem;
    font-size: 0.92rem;
}

.te-bar-label {
    font-weight: 600;
    line-height: 1.25;
}

.te-bar-track {
    height: 14px;
    border: 1.5px solid var(--te-line-strong);
    border-radius: 999px;
    overflow: hidden;
    background: transparent;
}

.te-bar-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--te-accent), var(--te-primary) 70%, var(--te-deep));
    transform-origin: left center;
}

.te-js .te-bar-fill {
    transform: scaleX(0);
    transition: transform 1.1s var(--te-ease);
}

.te-js .is-in .te-bar-fill,
.te-js .te-bar-fill.is-in {
    transform: scaleX(1);
}

.te-bar-value {
    text-align: right;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.te-chart-note {
    margin: 1rem 0 0;
    font-size: 0.88rem;
    color: var(--te-ink-soft);
}

.te-also {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.te-also-item {
    border: 1.5px solid var(--te-line-strong);
    border-radius: var(--te-radius);
    padding: 1.1rem 1.3rem;
}

.te-also-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.te-also-item p {
    margin: 0;
    color: var(--te-ink-soft);
}

.te-also-verdict {
    display: inline-block;
    margin-bottom: 0.4rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--te-deep);
}

.te-cta {
    border: 1.5px solid var(--te-primary);
    border-radius: 16px;
    padding: 2.4rem 2rem;
    text-align: center;
    background: linear-gradient(160deg, rgba(254, 245, 231, 0.6), rgba(230, 126, 34, 0.2));
}

.te-cta p {
    max-width: 56ch;
    margin: 0 auto 1.4rem;
    color: var(--te-ink-soft);
}

.te-cta .te-hero-actions {
    justify-content: center;
    margin: 0;
}

.te-page-head {
    margin-bottom: 2rem;
}

.te-page-head .te-lead {
    font-size: 1.12rem;
    color: var(--te-ink-soft);
    max-width: 66ch;
    margin: 0;
}

.te-article {
    max-width: 100%;
}

.te-article-head {
    margin-bottom: 1.8rem;
    padding-bottom: 1.4rem;
    border-bottom: 1.5px solid var(--te-line);
}

.te-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1.2rem;
    margin: 0;
    font-size: 0.9rem;
    color: var(--te-ink-soft);
}

.te-note {
    border: 1.5px solid var(--te-primary);
    border-left-width: 6px;
    border-radius: var(--te-radius);
    padding: 1rem 1.2rem;
    margin: 0 0 1.8rem;
    background: rgba(254, 245, 231, 0.5);
}

.te-note p:last-child {
    margin-bottom: 0;
}

.te-note-label {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--te-deep);
    margin-bottom: 0.25rem;
}

.te-article-body {
    display: block;
}

.te-article-body::after {
    content: '';
    display: table;
    clear: both;
}

.te-facts {
    float: right;
    width: 290px;
    margin: 0.3rem 0 1.4rem 2rem;
    border: 1.5px solid var(--te-line-strong);
    border-radius: var(--te-radius);
    background: rgba(254, 245, 231, 0.7);
    padding: 1.1rem 1.2rem 1rem;
    font-size: 0.93rem;
    line-height: 1.45;
}

.te-facts-title {
    font-family: var(--te-font-head);
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0 0 0.7rem;
    color: var(--te-primary);
}

.te-facts dl {
    margin: 0;
}

.te-facts dt {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--te-ink-soft);
    margin-top: 0.6rem;
}

.te-facts dd {
    margin: 0;
    font-weight: 600;
}

.te-facts .te-btn {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
}

.te-prose h2 {
    margin-top: 2.2rem;
    padding-top: 0.2rem;
}

.te-prose h2:first-child {
    margin-top: 0;
}

.te-prose h3 {
    margin-top: 1.6rem;
}

.te-prose p,
.te-prose li {
    max-width: 72ch;
}

.te-prose .te-table-wrap,
.te-prose .te-verdict,
.te-prose .te-pull {
    max-width: none;
    clear: both;
}

.te-prose li {
    margin-bottom: 0.4rem;
}

.te-pull {
    margin: 1.8rem 0;
    padding: 0.4rem 0 0.4rem 1.4rem;
    border-left: 3px solid var(--te-accent);
    font-family: var(--te-font-head);
    font-size: 1.25rem;
    line-height: 1.45;
    color: var(--te-ink);
}

.te-verdict {
    border: 1.5px solid var(--te-primary);
    border-radius: 12px;
    padding: 1.4rem 1.5rem;
    margin: 2rem 0 0;
    background: linear-gradient(160deg, rgba(254, 245, 231, 0.6), rgba(230, 126, 34, 0.14));
}

.te-verdict h2 {
    margin-top: 0;
}

.te-verdict p:last-of-type {
    margin-bottom: 1rem;
}

.te-checklist {
    list-style: none;
    padding: 0;
}

.te-checklist li {
    position: relative;
    padding-left: 1.7rem;
}

.te-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.8rem;
    height: 0.8rem;
    border: 2px solid var(--te-primary);
    border-radius: 3px;
}

.te-disclaimers {
    list-style: none;
    margin: 2rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px dashed var(--te-line-strong);
    font-size: 0.88rem;
    color: var(--te-ink-soft);
}

.te-disclaimers li {
    margin-bottom: 0.3rem;
    max-width: none;
}

.te-related {
    clear: both;
    margin-top: 2.5rem;
}

.te-lib-year {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--te-primary);
}

.te-lib-year h2 {
    margin: 0;
    font-size: 2rem;
    color: var(--te-primary);
}

.te-lib-year span {
    color: var(--te-ink-soft);
    font-size: 0.9rem;
}

.te-lib-list {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
}

.te-lib-item {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--te-line);
}

.te-lib-item:last-child {
    border-bottom: 0;
}

.te-lib-kind {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--te-deep);
    margin-right: 0.6rem;
}

.te-lib-date {
    font-size: 0.85rem;
    color: var(--te-ink-soft);
}

.te-lib-item h3 {
    margin: 0.3rem 0 0.4rem;
    font-size: 1.3rem;
}

.te-lib-item h3 a {
    color: var(--te-ink);
    text-decoration: none;
    background-image: linear-gradient(var(--te-primary), var(--te-primary));
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0 2px;
    transition: background-size 0.3s var(--te-ease), color 0.2s;
}

.te-lib-item h3 a:hover {
    color: var(--te-primary);
    background-size: 100% 2px;
}

.te-lib-excerpt {
    margin: 0;
    color: var(--te-ink-soft);
    max-width: 70ch;
}

.te-steps {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    counter-reset: te-step;
}

.te-step {
    counter-increment: te-step;
    position: relative;
    border: 1.5px solid var(--te-line-strong);
    border-radius: 12px;
    padding: 1.3rem 1.4rem 1.2rem 5rem;
    margin-bottom: 1.1rem;
}

.te-step::before {
    content: counter(te-step);
    position: absolute;
    left: 1.2rem;
    top: 1.1rem;
    width: 2.8rem;
    height: 2.8rem;
    line-height: 2.55rem;
    text-align: center;
    border: 2px solid var(--te-primary);
    border-radius: 50%;
    font-family: var(--te-font-head);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--te-primary);
}

.te-step h3 {
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.te-step p {
    margin: 0;
    color: var(--te-ink-soft);
}

.te-contact-card {
    max-width: 620px;
    border: 1.5px solid var(--te-line-strong);
    border-radius: 14px;
    padding: 2rem;
    background: rgba(254, 245, 231, 0.5);
}

.te-contact-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 0.4rem 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--te-line);
}

.te-contact-row:last-of-type {
    border-bottom: 0;
}

.te-contact-key {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--te-ink-soft);
    padding-top: 0.2rem;
}

.te-contact-val {
    margin: 0;
    font-weight: 600;
    font-style: normal;
}

.te-gloss {
    margin: 0;
}

.te-gloss-item {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--te-line);
}

.te-gloss-item dt {
    font-family: var(--te-font-head);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.te-gloss-item dd {
    margin: 0;
    max-width: 70ch;
    color: var(--te-ink-soft);
}

.te-sitemap-group {
    margin-bottom: 1.8rem;
}

.te-sitemap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1.5px solid var(--te-line-strong);
    border-radius: var(--te-radius);
}

.te-sitemap-list li {
    padding: 0.7rem 1.1rem;
    border-bottom: 1px solid var(--te-line);
}

.te-sitemap-list li:last-child {
    border-bottom: 0;
}

.te-sitemap-list a {
    font-weight: 700;
}

.te-sitemap-list span {
    display: block;
    font-size: 0.9rem;
    color: var(--te-ink-soft);
}

.te-404 {
    text-align: center;
    padding: 2rem 0;
}

.te-404-code {
    font-family: var(--te-font-head);
    font-size: clamp(4rem, 14vw, 8rem);
    line-height: 1;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px var(--te-primary);
    margin: 0 0 1rem;
}

.te-404 .te-hero-actions {
    justify-content: center;
}

.te-footer {
    flex-shrink: 0;
    border-top: 2px solid var(--te-primary);
    background: rgba(247, 217, 180, 0.4);
    margin-top: 2rem;
}

.te-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2.6rem 1.25rem 2rem;
}

.te-footer-title,
.te-footer-label {
    font-family: var(--te-font-head);
    font-weight: 700;
    margin: 0 0 0.7rem;
}

.te-footer-title {
    font-size: 1.35rem;
    color: var(--te-primary);
}

.te-footer-label {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--te-ink-soft);
}

.te-footer-faq {
    max-width: 820px;
    margin-bottom: 2.4rem;
}

.te-faq {
    border: 1.5px solid var(--te-line-strong);
    border-radius: 8px;
    margin-bottom: 0.6rem;
    background: rgba(254, 245, 231, 0.5);
}

.te-faq summary {
    cursor: pointer;
    padding: 0.8rem 1.1rem;
    font-weight: 700;
    list-style: none;
    position: relative;
    padding-right: 2.6rem;
}

.te-faq summary::-webkit-details-marker {
    display: none;
}

.te-faq summary::after {
    content: '+';
    position: absolute;
    right: 1.1rem;
    top: 0.65rem;
    font-size: 1.3rem;
    line-height: 1.2;
    color: var(--te-primary);
    transition: transform 0.25s var(--te-ease);
}

.te-faq[open] summary::after {
    transform: rotate(45deg);
}

.te-faq p {
    margin: 0;
    padding: 0 1.1rem 1rem;
    color: var(--te-ink-soft);
}

.te-footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.8rem;
    margin-bottom: 1rem;
}

.te-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.te-footer-list li {
    margin-bottom: 0.3rem;
}

.te-footer-linkbtn {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.te-footer-list a,
.te-footer-linkbtn,
.te-footer-address a {
    color: var(--te-ink);
}

.te-footer-address {
    font-style: normal;
    line-height: 1.6;
}

.te-footer-copy {
    margin: 1.4rem 0 0;
    font-size: 0.86rem;
    color: var(--te-ink-soft);
}

.te-cookie {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.8rem 1.6rem;
    padding: 0.9rem 1.25rem;
    background: var(--te-bg);
    border-top: 2px solid var(--te-primary);
    box-shadow: 0 -10px 30px rgba(53, 32, 15, 0.14);
}

.te-cookie-text {
    margin: 0;
    font-size: 0.93rem;
    max-width: 62ch;
}

.te-cookie-actions {
    display: flex;
    gap: 0.6rem;
}

.te-js .te-reveal {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(14px);
    transition: opacity 0.8s var(--te-ease), filter 0.8s var(--te-ease), transform 0.8s var(--te-ease);
}

.te-js .te-reveal.is-in {
    opacity: 1;
    filter: none;
    transform: none;
}

@keyframes te-blurin {
    from {
        opacity: 0;
        filter: blur(12px);
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        filter: none;
        transform: none;
    }
}

.te-blur-in {
    animation: te-blurin 0.9s var(--te-ease) both;
}

.te-blur-in--2 {
    animation-delay: 0.15s;
}

.te-blur-in--3 {
    animation-delay: 0.3s;
}

.te-content {
    animation: te-blurin 0.6s var(--te-ease) both;
}

@media (max-width: 1100px) {
    .te-facts {
        float: none;
        width: 100%;
        margin: 0 0 1.6rem;
    }

    .te-facts dl {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0 1.2rem;
    }
}

@media (max-width: 900px) {
    :root {
        --te-header-h: 62px;
    }

    .te-header-inner {
        grid-template-columns: 1fr auto;
    }

    .te-nav {
        display: none;
    }

    .te-burger {
        display: inline-flex;
    }

    .te-logo img {
        width: 160px;
        height: 32px;
    }

    .te-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.4rem;
        padding-top: 1.4rem;
    }

    .te-aside {
        align-self: auto;
    }

    .te-aside-card {
        padding: 0.8rem 1rem;
    }

    .te-aside-extra,
    .te-aside-meta {
        display: none;
    }

    .te-aside-title {
        font-size: 1rem;
    }

    .te-aside-list {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        margin: 0;
        padding-bottom: 0.3rem;
    }

    .te-aside-list li {
        flex: 0 0 auto;
    }

    .te-aside-list a {
        border: 1px solid var(--te-line-strong);
        border-radius: 999px;
        padding: 0.25rem 0.8rem 0.25rem 0.4rem;
        white-space: nowrap;
        font-size: 0.88rem;
    }

    .te-aside-label {
        margin-top: 0.4rem;
    }

    .te-hero-frame {
        grid-template-columns: minmax(0, 1fr);
        padding: 1.6rem 1.3rem;
        gap: 2rem;
    }

    .te-bar-row {
        grid-template-columns: 110px minmax(0, 1fr) 68px;
        gap: 0.5rem;
    }
}

@media (max-width: 600px) {
    body.te-body {
        font-size: 1rem;
    }

    .te-rank-card {
        grid-template-columns: minmax(0, 1fr);
        padding: 1.1rem;
    }

    .te-rank-side {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
    }

    .te-rank-no {
        margin: 0;
        font-size: 2.4rem;
    }

    .te-rank-icon {
        width: 64px;
        height: 64px;
        border-radius: 14px;
    }

    .te-step {
        padding: 4.3rem 1.1rem 1.1rem;
    }

    .te-step::before {
        left: 1.1rem;
        top: 1rem;
    }

    .te-contact-card {
        padding: 1.3rem;
    }

    .te-contact-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .te-cta {
        padding: 1.8rem 1.2rem;
    }

    .te-bar-row {
        grid-template-columns: minmax(0, 1fr) 62px;
    }

    .te-bar-label {
        grid-column: 1 / -1;
    }

    .te-bar-track {
        grid-column: 1;
    }

    .te-cookie {
        padding: 0.8rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .te-js .te-reveal {
        opacity: 1;
        filter: none;
        transform: none;
    }

    .te-js .te-bar-fill {
        transform: none;
    }
}

.te-card .te-rank-icon + h3 {
    margin-top: 1rem;
}

.te-after {
    margin-top: 1.4rem;
}

.te-lead {
    font-size: 1.12rem;
    color: var(--te-ink-soft);
    max-width: 66ch;
}
