:root {
    --page-padding: clamp(1.5rem, 1.2928rem + 0.884vw, 2rem);
    --clr-constr-border: rgba(0, 0, 0, 0.12);
    --clr-constr-primary: oklch(0.1583 0.0027 248);
    --clr-constr-bg: oklch(0.8809 0.1806 94.02);
    --clr-constr-bg-subtle: oklch(0.8875 0.1309 94.02);
    --clr-focus-ring: oklch(0.6152 0.2108 256.1);
}

/* Font */
@font-face {
	font-family: "Inter";
	src: url("./assets/fonts/InterVariable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* Global */
* {
    -webkit-font-smoothing: antialiased;
}
*, *::before, *::after {
	box-sizing: border-box;
}

body {
	margin: 0;
    width: 100%;
	font-family: "Inter", sans-serif;
	color: var(--clr-constr-primary);
    font-size: clamp(1rem, 0.9482rem + 0.221vw, 1.125rem);
    font-weight: 425;
    line-height: 1.5;
    letter-spacing: -0.005em;
}

/* Layout */
.page-constr {
    width: 100%;
	min-height: 100dvh;
	background-color: oklch(0.8809 0.1806 94.02);
}

.section-constr {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
}

.container-constr {
	width: 100%;
	max-width: calc(64rem + 2 * var(--page-padding));
	margin-inline: auto;
	padding-inline: var(--page-padding);
    display: flex;
    align-items: stretch;
    border-inline: 1px dashed var(--clr-constr-border);
}

.content-md-constr {
	width: 100%;
	max-width: 40rem;
	min-height: 100vh;
	min-height: 100dvh;
	margin-inline: auto;
	text-align: center;
    padding-block: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-inline: 1px dashed var(--clr-constr-border);
    text-align: center;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Typography */
h1, h2, p, a {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

.typography-heading-lg {
    font-size: clamp(2.5rem, 2.2928rem + 0.884vw, 3rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: .6em;
}

/* Buttons */
.social-links {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: 2.5rem;
}

.button-constr {
    background-color: var(--clr-constr-primary);
    color: var(--clr-constr-bg-subtle);
    border-radius: 0.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1em 1.25em;
    transition: opacity 200ms ease, scale 200ms ease;
    overflow-wrap: anywhere;
}

@media (hover: hover) and (pointer: fine) {
    .button-constr:hover {
        opacity: .9;
    }
}

.button-constr:active {
    scale: .99;
}

.button-constr:focus-visible {
	outline: 2px solid var(--clr-focus-ring);
	outline-offset: 3px;
}
