:root {
--background: #f7f7f5;
--surface: #ffffff;

--text: #171719;
--muted: #68686d;

--dark: #101113;
--dark-soft: #18191c;

--accent: #d9434f;
--accent-dark: #b9323d;

--border: #e5e5e3;

--max-width: 1180px;
--radius: 12px;
}

/* RESET */

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

html {
 scroll-behavior: smooth;
}

body {
 font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
   Roboto, Helvetica, Arial, sans-serif;
 background: var(--background);
 color: var(--text);
 line-height: 1.6;
 -webkit-font-smoothing: antialiased;
}

a {
 color: inherit;
 text-decoration: none;
}

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

/* GENERAL */

.container {
width: min(100% - 40px, var(--max-width));
margin-inline: auto;
}

.section {
padding: 110px 0;
}

.eyebrow {
margin-bottom: 16px;
color: var(--accent);

font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0.16em;


}

.section-dark {
color: #ffffff;
background: var(--dark);
}

/* HEADER */

.site-header {
 position: sticky;
 top: 0;
 z-index: 100;

 background: rgba(247, 247, 245, 0.94);

 backdrop-filter: blur(12px);
 -webkit-backdrop-filter: blur(12px);

 border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-container {
 min-height: 78px;

 display: flex;
 align-items: center;
 justify-content: space-between;

 gap: 30px;


}

.logo {
 flex-shrink: 0;
}

.logo img {
 width: 200px;
 height: auto;
}

nav {
display: flex;
align-items: center;
justify-content: flex-end;

flex-wrap: wrap;
gap: 26px;


}

nav a {
position: relative;

color: #444448;

font-size: 0.92rem;
font-weight: 500;

transition: color 0.2s ease;


}

nav a:hover,
nav a.active {
color: var(--accent);
}

nav a.active::after {
content: "";

position: absolute;
left: 0;
right: 0;
bottom: -9px;
height: 2px;
background: var(--accent);
}

/* HOME HERO */

.hero {
min-height: 600px;

/* display: flex; */
align-items: center;

background:
    radial-gradient(
        circle at 85% 20%,
        rgba(217, 67, 79, 0.09),
        transparent 30%
    );
}

.hero-content {
display: grid;
grid-template-columns: 1.15fr 0.85fr;

gap: 80px;
align-items: center;
}

.hero h1 {
 max-width: 720px;
 font-size: clamp(2.5rem, 4vw, 4.5rem);
 line-height: 0.9;
 letter-spacing: -0.055em;
}

.hero h1 span,
.page-heading h1 span {
 color: var(--accent);
}

.hero-description {
max-width: 650px;
margin-top: 30px;

color: var(--muted);

font-size: 1.15rem;
line-height: 1.8;


}

.hero-buttons {
display: flex;
flex-wrap: wrap;
gap: 14px;

margin-top: 38px;


}

/* PAGE HERO */

.page-hero {
min-height: 450px;

display: flex;
align-items: center;

background:
    radial-gradient(
        circle at 85% 20%,
        rgba(217, 67, 79, 0.09),
        transparent 30%
    );


}

.page-heading {
max-width: 850px;
}

.page-heading h1 {
max-width: 850px;

font-size: clamp(3rem, 6vw, 5.2rem);
line-height: 0.98;
letter-spacing: -0.055em;


}

.page-heading p:last-child {
max-width: 680px;
margin-top: 28px;

color: var(--muted);

font-size: 1.15rem;
line-height: 1.8;


}

/* BUTTONS */

.button {
display: inline-flex;
align-items: center;
justify-content: center;

min-height: 50px;
padding: 0 24px;

border-radius: 7px;

font-size: 0.92rem;
font-weight: 700;

transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;


}

.button:hover {
transform: translateY(-2px);
}

.button-primary {
color: #ffffff;
background: var(--accent);
}

.button-primary:hover {
background: var(--accent-dark);
}

.button-secondary {
color: var(--text);

background: transparent;
border: 1px solid #d7d7d4;


}

.button-secondary:hover {
border-color: #bdbdb9;
}

/* TERMINAL */

.terminal {
overflow: hidden;

background: #0d0e10;
border: 1px solid #27282c;
border-radius: 12px;

box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.18);


}

.terminal-header {
height: 42px;

display: flex;
align-items: center;

gap: 7px;
padding: 0 16px;

background: #17181b;
}

.terminal-header span {
width: 9px;
height: 9px;

border-radius: 50%;
background: #55565a;
}

.terminal-header span:first-child {
background: #e45a63;
}

.terminal-body {
padding: 28px;

color: #d9d9dc;

font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;

font-size: 0.85rem;
line-height: 2;


}

.prompt {
color: var(--accent);
}

.success {
color: #78d69a;
margin-bottom: 12px;
}

.cursor {
color: var(--accent);
}

/* SECTION HEADINGS */

.section-heading {
max-width: 720px;
margin-bottom: 60px;
}

.section-heading h2,
.about-lead h2 {
font-size: clamp(2.1rem, 4vw, 3.5rem);

line-height: 1.05;
letter-spacing: -0.04em;


}

.section-heading > p:last-child {
margin-top: 22px;

color: var(--muted);
font-size: 1.05rem;


}

.section-heading-dark > p:last-child {
color: #b8b8bd;
}

/* HOME CARDS */

.home-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 22px;
}

.feature-card {
display: flex;
flex-direction: column;

min-height: 310px;

padding: 36px;

background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);

transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;


}

.feature-card:hover {
transform: translateY(-5px);

border-color: #d8d8d5;

box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.08);


}

.feature-number {
margin-bottom: auto;

color: var(--accent);

font-family: monospace;
font-size: 0.8rem;
font-weight: 700;


}

.feature-card h3 {
margin-top: 35px;
margin-bottom: 12px;

font-size: 1.55rem;


}

.feature-card p {
color: var(--muted);
}

.feature-link {
margin-top: 28px;

color: var(--accent);

font-size: 0.9rem;
font-weight: 700;


}

/* SERVICES */

.services-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 22px;
}

.service-card {
position: relative;

padding: 38px;

background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);

transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;


}

.service-card:hover {
transform: translateY(-5px);

border-color: #d8d8d5;

box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.08);


}

.service-number {
margin-bottom: 50px;

color: var(--accent);

font-family: monospace;
font-size: 0.8rem;
font-weight: 700;


}

.service-card h2,
.service-card h3 {
margin-bottom: 14px;

font-size: 1.6rem;


}

.service-card p {
margin-bottom: 25px;

color: var(--muted);


}

.service-card ul {
list-style: none;
}

.service-card li {
padding: 8px 0;

color: #4e4e53;

border-top: 1px solid var(--border);

font-size: 0.9rem;


}

.service-card li::before {
content: "→";

margin-right: 9px;

color: var(--accent);


}

/* ABOUT */

.about-page-grid {
display: grid;
grid-template-columns: 0.9fr 1.1fr;

gap: 100px;
align-items: start;


}

.about-lead h2 {
max-width: 520px;
}

.about-text {
color: var(--muted);
font-size: 1.05rem;
}

.about-text p + p {
margin-top: 24px;
}

/* PRINCIPLES */

.principles-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 50px;
}

.principle {
padding-top: 25px;

border-top: 1px solid #303135;


}

.principle > span {
color: var(--accent);

font-family: monospace;
font-size: 0.8rem;
font-weight: 700;


}

.principle h3 {
margin-top: 35px;

font-size: 1.45rem;


}

.principle p {
margin-top: 12px;

color: #b8b8bd;


}

/* CONTACT */

.contact-card {
padding: 38px;

background: var(--background);
border: 1px solid var(--border);
border-radius: var(--radius);


}

.contact-item {
display: flex;
flex-direction: column;

padding-bottom: 24px;
margin-bottom: 24px;

border-bottom: 1px solid var(--border);


}

.contact-label {
margin-bottom: 5px;

color: var(--muted);

font-size: 0.78rem;
font-weight: 700;

text-transform: uppercase;
letter-spacing: 0.08em;


}

.contact-item a {
font-size: 1.05rem;
font-weight: 600;
}

.contact-item a:hover {
color: var(--accent);
}

/* COMPANY INFORMATION */

.company-info-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 22px;
}

.info-card {
min-height: 150px;

display: flex;
flex-direction: column;
justify-content: center;

padding: 32px;

background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);


}

.info-card strong {
font-size: 1.2rem;
font-weight: 600;
}

/* LEGAL */

.legal-grid {
display: grid;
grid-template-columns: 0.9fr 1.1fr;

gap: 100px;
align-items: start;


}

.legal-grid h2 {
max-width: 500px;

font-size: clamp(2.2rem, 4vw, 3.5rem);

line-height: 1.05;
letter-spacing: -0.04em;


}

.legal-intro {
max-width: 500px;
margin-top: 24px;

color: #b8b8bd;

font-size: 1.05rem;


}

.legal-links {
display: flex;
flex-direction: column;
}

.legal-link {
display: flex;
align-items: center;
justify-content: space-between;

gap: 25px;

padding: 25px 0;

border-top: 1px solid #2d2e31;

transition:
    color 0.2s ease,
    padding 0.2s ease;


}

.legal-link:last-child {
border-bottom: 1px solid #2d2e31;
}

.legal-link:hover {
color: #ffffff;
padding-left: 8px;
}

.legal-link > div {
display: flex;
flex-direction: column;
}

.legal-type {
margin-bottom: 5px;

color: var(--accent);

font-family: monospace;
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.08em;


}

.legal-link strong {
font-size: 1.05rem;
font-weight: 600;
}

.legal-arrow {
color: var(--accent);
font-size: 1.3rem;
}

.back-section {
background: var(--background);
}

/* FOOTER */

.site-footer {
padding: 50px 0;

color: #a7a7ac;
background: var(--dark);


}

.footer-content {
display: grid;
grid-template-columns: 1fr auto auto;

gap: 50px;
align-items: center;


}

.site-footer strong {
color: #ffffff;
}

.site-footer p {
margin-top: 5px;

font-size: 0.85rem;


}

.footer-links {
display: flex;
align-items: center;

flex-wrap: wrap;
gap: 25px;

font-size: 0.85rem;


}

.footer-links a {
transition: color 0.2s ease;
}

.footer-links a:hover {
color: #ffffff;
}

.footer-links span {
margin-left: 3px;
color: var(--accent);
}

.copyright {
font-size: 0.8rem;
}

/* TABLET */

@media (max-width: 1000px) {

.hero-content {
    grid-template-columns: 1fr;
    gap: 55px;
}

.hero {
    min-height: auto;
    padding: 100px 0;
}

.hero-text {
    max-width: 760px;
}

.hero-card {
    max-width: 760px;
    width: 100%;
}

.home-grid,
.services-grid {
    grid-template-columns: 1fr 1fr;
}

.feature-card:last-child,
.service-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 11px);
}

.about-page-grid,
.legal-grid {
    grid-template-columns: 1fr;
    gap: 50px;
}

.about-lead h2 {
    max-width: 700px;
}

.contact-card {
    max-width: 650px;
}

.principles-grid {
    grid-template-columns: 1fr 1fr;
}

.principle:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 25px);
}

.company-info-grid {
    grid-template-columns: 1fr 1fr;
}

.info-card:last-child {
    grid-column: 1 / -1;
}

.footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.copyright {
    grid-column: 1 / -1;
}


}

/* SMALL TABLET */

@media (max-width: 760px) {

.container {
    width: min(100% - 32px, var(--max-width));
}

.nav-container {
    min-height: 72px;
}

nav {
    gap: 16px;
}

nav a {
    font-size: 0.82rem;
}

.page-hero {
    min-height: 400px;
    padding: 80px 0;
}

.home-grid,
.services-grid,
.company-info-grid {
    grid-template-columns: 1fr;
}

.feature-card:last-child,
.service-card:last-child,
.info-card:last-child {
    grid-column: auto;
    max-width: none;
}

.principles-grid {
    grid-template-columns: 1fr;
    gap: 35px;
}

.principle:last-child {
    grid-column: auto;
    max-width: none;
}

.footer-content {
    grid-template-columns: 1fr;
}

.copyright {
    grid-column: auto;
}


}

/* MOBILE */

@media (max-width: 560px) {

.container {
    width: min(100% - 28px, var(--max-width));
}

.site-header {
    position: relative;
}

.nav-container {
    min-height: auto;

    padding: 18px 0;

    align-items: flex-start;
    flex-direction: column;

    gap: 14px;
}

.logo img {
    width: 125px;
}

nav {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 4px 12px;
}

nav a {
    padding: 7px 0;
    font-size: 0.82rem;
}

nav a.active::after {
    display: none;
}

.hero {
    padding: 65px 0 75px;
}

.hero h1,
.page-heading h1 {
    font-size: 3.1rem;
}

.hero-description,
.page-heading p:last-child {
    margin-top: 24px;

    font-size: 1rem;
    line-height: 1.7;
}

.hero-buttons {
    flex-direction: column;
    align-items: stretch;

    margin-top: 30px;
}

.button {
    width: 100%;
}

.terminal-body {
    padding: 22px 18px;

    font-size: 0.72rem;
    line-height: 1.9;

    overflow-x: auto;
}

.page-hero {
    min-height: auto;
    padding: 70px 0 75px;
}

.section {
    padding: 75px 0;
}

.section-heading {
    margin-bottom: 45px;
}

.section-heading h2,
.about-lead h2,
.legal-grid h2 {
    font-size: 2.35rem;
}

.feature-card {
    min-height: 280px;
    padding: 28px;
}

.service-card {
    padding: 28px;
}

.service-number {
    margin-bottom: 35px;
}

.about-text {
    font-size: 1rem;
}

.contact-card {
    padding: 28px;
}

.info-card {
    min-height: 125px;
    padding: 28px;
}

.legal-link {
    padding: 22px 0;
}

.footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}


}

/* VERY SMALL SCREENS */

@media (max-width: 360px) {

.hero h1,
.page-heading h1 {
    font-size: 2.7rem;
}

.eyebrow {
    font-size: 0.7rem;
}

.terminal-body {
    font-size: 0.66rem;
}


}
