/* Global Style */
@font-face {
    font-family: "Anthropic Sans";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/Anthropic-Sans.woff2") format("woff2");
}

:root {
    /* Anthropic-inspired palette (mirrors wici.ai) */
    --bg: #faf9f5;
    --bg-tint: #f0eee6;
    --bg-card: #ffffff;
    --ink: #141413;
    --ink-soft: #3a3a37;
    --ink-mute: #6f6f68;
    --line: #e6e2d5;
    --line-strong: #d8d3c1;
    --accent: #cc785c;
    --accent-hover: #b56448;
    --accent-soft: #f3dbcf;
}

html {
    font-family: "Anthropic Sans", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif !important;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

a {
    border-bottom: 1px dotted var(--ink);
    color: inherit;
    transition: color 0.18s ease, border-color 0.18s ease;
}

a:hover {
    border-bottom: 1px solid var(--ink);
    color: var(--accent);
}

a.styled-link {
    border-bottom: 1px dotted var(--ink);
}
a.styled-link.color-tangerine {
    border-bottom-color: var(--accent);
}
a.styled-link span {
    position: relative;
    display: inline-block;
}
a.styled-link span:before {
    border-bottom: 2px solid var(--ink);
    -webkit-clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    color: transparent;
    content: attr(data-content);
    position: absolute;
    top: -5px;
    transition: -webkit-clip-path .2s ease;
    transition: clip-path .2s ease;
    transition: clip-path .2s ease, -webkit-clip-path .2s ease;
}
a.styled-link.color-tangerine span:before {
    border-bottom-color: var(--accent);
}
a.styled-link:hover span:before {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Global Styles */
body {
    margin: 0;
    padding: 0;
    background-color: var(--bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Flex Grid System */
.grid-wrapper {
    display: flex;
    gap: calc(2rem - 1px);
    justify-content: center;
    align-content: center;
}

.grid-instance {
    flex: 1;
    min-width: 0;
}

.grid-border-lr {
    display: flex;
}

.grid-border-tb {
    min-width: 0;
    flex: 1;
}

.grid-border-lr:after, .grid-border-lr:before, .grid-border-tb:after, .grid-border-tb:before {
    content: "";
    display: block;
    border-width: 0px;
    border-style: solid;
    border-color: var(--line-strong);
    position: relative;
}

.grid-border-lr:before {
    left: -1rem;
    border-left-width: 1px;
}

.grid-border-lr:after {
    right: -1rem;
    border-right-width: 1px;
}

.grid-border-tb:before {
    top: -1rem;
    border-top-width: 1px;
}

.grid-border-tb:after {
    bottom: calc(-1rem + 2px);
    border-bottom-width: 1px;
}

.grid-content {
    height: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .grid-wrapper {
        flex-direction: column;
    }
}

/* Hero Section */

.hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin: 0 0 0.5rem 0;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.125rem;
    }
}

.hero .title {
    color: var(--ink-mute);
}

/* Sections */
section {
    padding: 1rem;
    padding-top: calc(1rem - 1px);
}

section h2 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-top: 0rem;
    margin-bottom: 1rem;
}

section p {
    line-height: 1.7;
    margin-bottom: 1rem;
    max-width: 800px;
    color: var(--ink-soft);
}
