:root {
    --bg-page: #fdfaf6;        
    --bg-card: #f9f3eb;        
    --text-main: #362e2b;      
    --text-muted: #6e625d;     
    --accent-glow: #df7a5e;    
    --accent-soft: #7da18c;    
    --max-width: 680px;        
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.8;
    padding: 5rem 1.5rem;
}

main {
    max-width: var(--max-width);
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

header > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80px;
    margin-bottom: 2rem;
}

header > div > div:first-child {
    width: 12px;
    height: 12px;
    background-color: var(--accent-glow);
    border-radius: 50%;
    opacity: 0.9;
    box-shadow: 0 0 40px 20px rgba(223, 122, 94, 0.4); 
    margin-bottom: 24px;
}

header > div > div:last-child {
    width: 50px;
    height: 1px;
    background-color: var(--text-muted);
    opacity: 0.2;
}

h1 {
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

header p {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 3rem;
    opacity: 0.8;
}

nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    padding-bottom: 0.25rem;
}

nav button {
    background: none;
    border: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

nav button:hover {
    opacity: 1;
}

nav button.active {
    opacity: 1;
    color: var(--accent-glow);
    border-bottom: 2px solid var(--accent-glow);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 4rem 0 1.5rem 0;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 1rem;
}

h2::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(125, 161, 140, 0.3), transparent);
}


p {
    margin-bottom: 1.75rem;
    opacity: 0.95;
}

.sub-title{
    margin: 0;
}

.date-author{
    margin: 0;
    padding: 0;
    justify-content: right;
    text-align: right;
    align-content: right;
}

.date-author p{
    margin: 0;
    justify-content: right;
    text-align: right;
}

article {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    margin: 2.5rem 0;
    border: 1px solid rgba(110, 98, 93, 0.08);
}

article small {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-glow);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

article ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

article ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

article ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent-soft);
}

blockquote {
    background-color: var(--bg-card);
    border-left: 3px solid var(--accent-soft);
    padding: 1.5rem;
    border-radius: 4px 12px 12px 4px;
    margin: 2rem 0;
}

blockquote p {
    margin-bottom: 0;
    font-style: italic;
    font-size: 1.05rem;
}

section > p > small {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
}

section > div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin: 3.5rem 0;
}

@media (min-width: 768px) {
    section > div {
        grid-template-columns: 1fr 1fr;
        align-items: start;
        gap: 2.5rem;
        max-width: 1000px;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% + 120px);
    }
}

aside h3 {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

aside ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

aside ol li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
    line-height: 1.6;
}

aside ol li span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
    line-height: 1.5;
    opacity: 0.85;
    border-left: 2px solid rgba(110, 98, 93, 0.15);
    padding-left: 0.75rem;
}

aside.never-list ol li::before {
    content: "✕";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-glow);
    font-size: 0.9rem;
    font-weight: bold;
}

aside.do-list ol li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-soft);
    font-size: 1rem;
    font-weight: bold;
}

aside.plain-list ol li {
    padding-left: 0;
}

aside.plain-list ol li::before {
    content: none;
}

fieldset {
    border: 1px dashed rgba(125, 161, 140, 0.3);
    background-color: var(--bg-card);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

fieldset h3 {
    margin-bottom: 1rem;
}

fieldset ol li {
    margin-bottom: 0.75rem;
}

address {
    display: block;
    font-style: normal;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(110, 98, 93, 0.1);
}

address a {
    color: var(--accent-glow);
    text-decoration: none;
    border-bottom: 1px dashed var(--accent-glow);
    transition: opacity 0.2s ease;
}

address a:hover {
    opacity: 0.8;
}

footer {
    margin-top: 8rem;
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(110, 98, 93, 0.1);
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

footer div {
    font-family: "Brush Script MT", cursive;
    font-size: 2.2rem;
    color: var(--accent-glow);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

footer p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.byline {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin: 2.5rem 0;
}

.byline-mark {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: var(--accent-glow);
    box-shadow: 0 0 10px 5px rgba(223, 122, 94, 0.3);
    flex-shrink: 0;
}

.byline p {
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: -0.2px;
    margin-bottom: 0;
    color: var(--text-main);
}

ol.timeline {
    list-style: none;
    padding: 0;
    margin: 3rem 0;
    position: relative;
}

ol.timeline::before {
    content: "";
    position: absolute;
    left: 3.5rem;
    top: 0.6rem;
    bottom: 0.6rem;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent-glow), rgba(125, 161, 140, 0.2));
}

ol.timeline li {
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 1.5rem;
    margin-bottom: 0;
    position: relative;
}

ol.timeline li + li {
    margin-top: 0;
}

ol.timeline li time {
    padding-right: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-glow);
    text-align: right;
    padding-top: 0.15rem;
    line-height: 1.8;
    opacity: 0.85;
}

ol.timeline li::after {
    content: "";
    position: absolute;
    left: calc(4rem + 0.75rem - 3px);
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--bg-page);
    border: 1.5px solid var(--accent-soft);
}

ol.timeline li div {
    padding: 0 0 2.5rem 1.25rem;
}

ol.timeline li div p {
    font-size: 0.97rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

ol.timeline li div p:last-child {
    margin-bottom: 0;
}

.emphasis {
    border-left: 2px solid var(--accent-glow);
    padding-left: 1.25rem;
    font-size: 1.1rem;
    letter-spacing: 0.2px;
    opacity: 1;
}

.quote {
    align-items: center;
    text-align: center;
    padding: 12px;
    background-color: var(--text-muted);
    color: var(--bg-card);
    border-radius: 12px;
}