CoompanionApp/front/privacy.css

250 lines
4.7 KiB
CSS

@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@400;600;700&family=IBM+Plex+Sans:wght@300;400;600&display=swap");
:root {
color-scheme: light;
--ink: #1d1b16;
--ink-soft: #5b574e;
--ink-faint: rgba(29, 27, 22, 0.55);
--paper: #f7f1e6;
--paper-strong: #fffaf0;
--paper-alt: #efe5d4;
--accent: #0f766e;
--accent-dark: #0f4c43;
--accent-soft: rgba(15, 118, 110, 0.12);
--border: rgba(29, 27, 22, 0.12);
--shadow: rgba(20, 18, 14, 0.12);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
color: var(--ink);
font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
background:
radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 45%),
radial-gradient(circle at 20% 20%, rgba(15, 118, 110, 0.08), transparent 40%),
linear-gradient(180deg, var(--paper) 0%, var(--paper-alt) 60%, var(--paper) 100%);
position: relative;
overflow-x: hidden;
}
body::before {
content: "";
position: fixed;
inset: 0;
background-image:
linear-gradient(rgba(29, 27, 22, 0.04) 1px, transparent 1px),
linear-gradient(90deg, rgba(29, 27, 22, 0.04) 1px, transparent 1px);
background-size: 36px 36px;
mix-blend-mode: multiply;
opacity: 0.45;
pointer-events: none;
z-index: 0;
}
body::after {
content: "";
position: fixed;
inset: -20% 0 0 0;
background: radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0.12), transparent 60%);
opacity: 0.18;
pointer-events: none;
z-index: 0;
}
.page-privacy #root {
position: relative;
z-index: 1;
}
.privacy {
max-width: 980px;
margin: 0 auto;
padding: 3.5rem 1.5rem 4rem;
display: flex;
flex-direction: column;
gap: 2rem;
}
.hero {
background: var(--paper-strong);
border: 1px solid var(--border);
border-radius: 28px;
padding: 2.5rem 2.2rem;
box-shadow: 0 25px 60px var(--shadow);
display: grid;
gap: 1rem;
position: relative;
}
.hero::after {
content: "";
position: absolute;
right: 1.6rem;
top: 1.8rem;
width: 92px;
height: 92px;
border-radius: 50%;
border: 2px dashed var(--accent-dark);
opacity: 0.35;
pointer-events: none;
}
.hero__top {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 1rem;
}
.back-link {
text-decoration: none;
font-size: 0.95rem;
color: var(--accent-dark);
font-weight: 600;
padding-bottom: 2px;
border-bottom: 1px solid rgba(15, 118, 110, 0.3);
}
.hero h1 {
font-family: "Fraunces", "Times New Roman", serif;
font-size: clamp(2.4rem, 3.2vw + 1rem, 3.6rem);
margin: 0;
letter-spacing: -0.02em;
}
.hero p {
margin: 0;
font-size: 1.1rem;
color: var(--ink-soft);
max-width: 32rem;
}
.hero__meta {
text-transform: uppercase;
letter-spacing: 0.2em;
font-size: 0.72rem;
color: var(--ink-faint);
font-weight: 600;
}
.lang-toggle {
background: var(--paper-alt);
border-radius: 999px;
padding: 0.25rem;
border: 1px solid var(--border);
display: inline-flex;
gap: 0.25rem;
}
.lang-toggle button {
border: none;
background: transparent;
padding: 0.4rem 0.9rem;
border-radius: 999px;
font-weight: 600;
font-size: 0.85rem;
color: var(--ink-soft);
cursor: pointer;
}
.lang-toggle button.active {
background: var(--accent);
color: #fff;
box-shadow: 0 10px 24px rgba(15, 118, 110, 0.25);
}
.summary {
display: grid;
gap: 0.6rem;
background: rgba(255, 255, 255, 0.65);
border-radius: 20px;
border: 1px solid var(--border);
padding: 1.4rem 1.6rem;
box-shadow: 0 18px 45px rgba(20, 18, 14, 0.08);
}
.summary__label {
text-transform: uppercase;
font-size: 0.72rem;
letter-spacing: 0.2em;
color: var(--ink-faint);
font-weight: 600;
}
.summary__text {
font-size: 1.05rem;
line-height: 1.6;
color: var(--ink);
}
.policy {
display: grid;
gap: 1.5rem;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.policy__card {
background: var(--paper-strong);
border-radius: 20px;
border: 1px solid var(--border);
padding: 1.5rem;
box-shadow: 0 18px 40px rgba(20, 18, 14, 0.08);
display: grid;
gap: 0.8rem;
}
.policy__card h2 {
margin: 0;
font-family: "Fraunces", serif;
font-size: 1.25rem;
}
.policy__card ul {
margin: 0;
padding-left: 1.1rem;
color: var(--ink-soft);
line-height: 1.5;
display: grid;
gap: 0.6rem;
}
.footer {
font-size: 0.95rem;
color: var(--ink-soft);
border-top: 1px solid var(--border);
padding-top: 1.4rem;
}
.reveal {
opacity: 0;
transform: translateY(18px);
animation: reveal 0.7s ease forwards;
animation-delay: var(--delay, 0s);
}
@keyframes reveal {
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 700px) {
.hero {
padding: 2rem 1.6rem;
}
.hero::after {
display: none;
}
.summary {
padding: 1.2rem 1.2rem;
}
}