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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--tc-font-body);
    font-size: var(--tc-text-base);
    font-weight: var(--tc-weight-normal);
    line-height: var(--tc-leading-normal);
    color: var(--tc-text-dark);
    background-color: var(--tc-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--tc-font-mono);
    font-weight: var(--tc-weight-bold);
    line-height: var(--tc-leading-tight);
    color: var(--tc-text-dark);
}

h1 { font-size: var(--tc-text-5xl); }
h2 { font-size: var(--tc-text-3xl); }
h3 { font-size: var(--tc-text-2xl); }
h4 { font-size: var(--tc-text-xl); }
h5 { font-size: var(--tc-text-lg); }

p {
    margin-bottom: 1rem;
    max-width: 65ch;
}

a {
    color: var(--tc-blue);
    text-decoration: none;
    transition: color var(--tc-transition);
}

a:hover {
    color: var(--tc-blue-dark);
}

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

code {
    font-family: var(--tc-font-mono);
    font-size: 0.9em;
    background: #f1f5f9;
    padding: 0.15em 0.4em;
    border-radius: var(--tc-radius-sm);
}

strong {
    font-weight: var(--tc-weight-semibold);
}

::selection {
    background: var(--tc-blue);
    color: white;
}

.tc-mono {
    font-family: var(--tc-font-mono);
}

.tc-muted {
    color: var(--tc-text-muted);
}

.tc-text-center {
    text-align: center;
}

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

.tc-subtitle {
    font-family: var(--tc-font-mono);
    font-size: var(--tc-text-sm);
    font-weight: var(--tc-weight-medium);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tc-blue);
    margin-bottom: 0.75rem;
}

.tc-lead {
    font-size: var(--tc-text-lg);
    line-height: var(--tc-leading-relaxed);
    color: var(--tc-text-muted);
    max-width: 55ch;
}
