/* Sofo Spiti homepage – house style of the customer portal */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-greek.woff2") format("woff2"); unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+00??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

body.ssh-body { margin: 0; background: #07101e; }

.ssh-page, .ssh-page *, .ssh-page *::before, .ssh-page *::after { box-sizing: border-box; }
.ssh-page {
	font-family: "Inter", Arial, sans-serif;
	color: #f1f5f9;
	background:
		radial-gradient(ellipse at 78% 6%, rgb(24 56 93 / 42%), transparent 40%),
		radial-gradient(ellipse at 10% 14%, rgb(21 101 255 / 13%), transparent 38%),
		linear-gradient(115deg, #0b1220 0%, #081322 52%, #07101e 100%);
	width: 100%;
	overflow-x: hidden;
	line-height: 1.5;
}
.ssh-page a { color: inherit; text-decoration: none; }
.ssh-page h1, .ssh-page h2, .ssh-page h3, .ssh-page p, .ssh-page ul { margin: 0; padding: 0; }
.ssh-page a:focus-visible, .ssh-page button:focus-visible { outline: 2px solid #7db2ff; outline-offset: 3px; }
.ssh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ssh-wrap { width: min(1320px, calc(100% - clamp(32px, 7vw, 96px))); margin-left: auto; margin-right: auto; }

/* Header */
.ssh-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0; }
.ssh-brand { display: flex; align-items: center; gap: 14px; }
.ssh-brand img { display: block; width: 56px; height: 52px; object-fit: contain; }
.ssh-brand-copy { display: flex; flex-direction: column; gap: 5px; }
.ssh-brand-copy strong { font-size: 22px; letter-spacing: .21em; font-weight: 700; }
.ssh-brand-copy small { color: #aab6c8; font-size: 12px; }
.ssh-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.ssh-nav a { padding: 10px 12px; border-radius: 9px; font-size: 14px; color: #aab6c8; transition: background .15s ease, color .15s ease; }
.ssh-nav a:hover { color: #fff; background: rgb(21 101 255 / 16%); }
.ssh-nav a.is-strong { font-weight: 700; color: #f1f5f9; }
.ssh-actions { display: flex; align-items: center; gap: 14px; }
.ssh-lang { display: flex; gap: 5px; padding: 4px; border: 1px solid rgb(188 211 245 / 15%); border-radius: 10px; background: rgb(7 16 30 / 72%); }
.ssh-lang a { display: flex; align-items: center; justify-content: center; min-width: 50px; height: 44px; padding: 0 8px; border: 1px solid transparent; border-radius: 6px; }
.ssh-lang a svg { display: block; border-radius: 2px; }
.ssh-lang a[aria-current="page"] { border-color: rgb(21 101 255 / 60%); background: rgb(21 101 255 / 17%); }
.ssh-lang a:hover { background: rgb(21 101 255 / 12%); }

/* Buttons */
.ssh-btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 7px; background: #1565ff; color: #fff !important; font-size: 14px; font-weight: 700; transition: background .16s ease, transform .16s ease; }
.ssh-btn:hover { background: #0756ed; transform: translateY(-1px); }
.ssh-btn--lg { height: 56px; padding: 0 36px; font-size: 15px; }
.ssh-btn--block { display: flex; margin-top: 26px; }

/* Banner: full width, no frame */
.ssh-hero { width: 100%; }
.ssh-hero img { display: block; width: 100%; height: auto; }

/* Sections */
.ssh-section { padding: 88px 0 24px; display: flex; flex-direction: column; gap: 36px; }
.ssh-head { max-width: 700px; }
.ssh-eyebrow { display: flex; align-items: center; gap: 10px; color: #74a8ff; font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.ssh-eyebrow::before { content: ""; width: 25px; height: 1px; background: #3285ff; }
.ssh-h2 { margin: 20px 0 14px !important; font-size: clamp(30px, 3.6vw, 44px); font-weight: 500; letter-spacing: -.04em; line-height: 1.12; }
.ssh-head .ssh-h2:last-child { margin-bottom: 0 !important; }
.ssh-lead { color: #b8c6dc; font-size: 17px; line-height: 1.75; }
.ssh-lead--light { color: #cbd5e1; }
.ssh-cards { display: flex; flex-wrap: wrap; gap: 16px; }
.ssh-cards--stretch { align-items: stretch; }

.ssh-card { flex: 1 1 280px; min-width: 0; min-height: 220px; display: flex; flex-direction: column; padding: 26px; border: 1px solid rgb(188 211 245 / 15%); border-radius: 15px; background: linear-gradient(145deg, rgb(17 31 50 / 96%), rgb(8 19 34 / 96%)); }
.ssh-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.ssh-icon-box { width: 44px; height: 44px; display: grid; place-items: center; color: #9ab8ff; background: rgb(21 101 255 / 14%); border: 1px solid rgb(21 101 255 / 20%); border-radius: 12px; }
.ssh-num { color: #8a97ad; font-size: 12px; letter-spacing: .12em; }
.ssh-card h3 { margin-bottom: 10px; font-size: 19px; font-weight: 600; }
.ssh-card p { color: #aab6c8; font-size: 15px; line-height: 1.7; }

.ssh-pkg { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 30px; border: 1px solid rgb(188 211 245 / 15%); border-radius: 15px; background: linear-gradient(145deg, rgb(17 31 50 / 96%), rgb(8 19 34 / 96%)); }
.ssh-pkg--hl { flex: 1.2 1 320px; border-color: rgb(21 101 255 / 60%); background: linear-gradient(145deg, rgb(21 101 255 / 24%), rgb(8 19 34 / 96%)); box-shadow: 0 28px 90px rgb(21 101 255 / 14%); }
.ssh-pkg-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ssh-circle { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid #3285ff; border-radius: 50%; color: #3285ff; }
.ssh-pkg h3 { margin-top: 6px; font-size: 22px; font-weight: 600; }
.ssh-pkg p { color: #aab6c8; font-size: 15px; line-height: 1.75; }
.ssh-pkg--hl p { color: #cbd5e1; }
.ssh-pkg .ssh-btn { align-self: flex-start; margin-top: auto; }
.ssh-badge { padding: 6px 12px; border: 1px solid rgb(21 101 255 / 60%); border-radius: 999px; background: rgb(21 101 255 / 17%); color: #fff; font-size: 12px; font-weight: 700; }

.ssh-step { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 26px; border-top: 1px solid rgb(21 101 255 / 60%); }
.ssh-step h3 { font-size: 20px; font-weight: 600; }
.ssh-step p { color: #aab6c8; font-size: 15px; line-height: 1.75; }

/* Portal */
.ssh-portal { flex-direction: row; flex-wrap: wrap; gap: clamp(32px, 6vw, 96px); align-items: center; }
.ssh-portal-copy { flex: 1 1 380px; min-width: 0; max-width: 620px; }
.ssh-portal-side { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.ssh-portal-card { width: 100%; max-width: 445px; padding: clamp(26px, 4vw, 42px); border: 1px solid rgb(188 211 245 / 15%); border-radius: 15px; background: linear-gradient(145deg, rgb(17 31 50 / 96%), rgb(8 19 34 / 96%)); box-shadow: 0 28px 90px rgb(0 0 0 / 35%); }
.ssh-portal-logo { display: flex; justify-content: center; margin-bottom: 14px; }
.ssh-portal-logo img { display: block; width: 62px; height: 56px; object-fit: contain; }
.ssh-kicker { text-align: center; color: #79aaff; font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.ssh-portal-card h3 { margin: 14px 0 20px; text-align: center; font-size: 26px; font-weight: 600; letter-spacing: -.025em; }
.ssh-checks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ssh-checks li { display: flex; align-items: flex-start; gap: 12px; }
.ssh-checks svg { flex: 0 0 auto; margin-top: 2px; }
.ssh-checks div { display: flex; flex-direction: column; gap: 2px; }
.ssh-checks strong { font-size: 15px; font-weight: 600; }
.ssh-checks span { color: #aab6c8; font-size: 14px; line-height: 1.6; }

/* Configurator call to action */
.ssh-cta { margin-top: 88px; padding: clamp(32px, 6vw, 72px); border: 1px solid rgb(188 211 245 / 15%); border-radius: 15px; background: linear-gradient(90deg, rgb(7 16 30 / 94%) 0%, rgb(7 16 30 / 78%) 55%, rgb(7 16 30 / 55%) 100%), url("../img/sofo-evening-home.webp") center / cover no-repeat; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.ssh-cta-copy { flex: 1 1 420px; max-width: 640px; }

/* Footer */
.ssh-footer { margin-top: 72px; padding: 28px 0 40px; border-top: 1px solid rgb(188 211 245 / 15%); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.ssh-footer-brand { display: flex; align-items: center; gap: 12px; }
.ssh-footer-brand img { display: block; width: 36px; height: 33px; object-fit: contain; }
.ssh-footer-brand strong { font-size: 14px; letter-spacing: .21em; }
.ssh-footer-copy { color: #aab6c8; font-size: 13px; }
.ssh-legal { display: flex; gap: 22px; font-size: 13px; }
.ssh-legal a { color: #75aaff; }
.ssh-legal a:hover { color: #fff; }

@media (max-width: 720px) {
	.ssh-header { padding: 18px 0; }
	.ssh-brand img { width: 46px; height: 42px; }
	.ssh-brand-copy strong { font-size: 17px; letter-spacing: .16em; }
	.ssh-brand-copy small { max-width: 190px; font-size: 11px; }
	.ssh-nav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
	.ssh-nav a { white-space: nowrap; }
	.ssh-section { padding-top: 64px; }
	.ssh-cta { margin-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
	.ssh-page * { transition-duration: .01ms !important; }
}

/* 1.0.1: links keep their colour after a click (no visited / focus / active colour change) */
.ssh-page .ssh-nav a:visited,.ssh-page .ssh-nav a:focus,.ssh-page .ssh-nav a:active{color:#aab6c8}
.ssh-page .ssh-nav a:hover{color:#fff}
.ssh-page .ssh-nav a.is-strong,.ssh-page .ssh-nav a.is-strong:visited,.ssh-page .ssh-nav a.is-strong:focus,.ssh-page .ssh-nav a.is-strong:active,.ssh-page .ssh-nav a.is-strong:hover{color:#f1f5f9}
.ssh-page .ssh-legal a:visited,.ssh-page .ssh-legal a:focus,.ssh-page .ssh-legal a:active{color:#75aaff}
.ssh-page .ssh-legal a:hover{color:#fff}
.ssh-page .ssh-btn:visited,.ssh-page .ssh-btn:focus,.ssh-page .ssh-btn:active,.ssh-page .ssh-btn:hover{color:#fff!important}

/* 1.0.3: raised 3D cards (bevelled edges, visible thickness, deep shadow) with a glossy sheen */
.ssh-card,.ssh-pkg,.ssh-portal-card{
	position:relative;overflow:hidden;isolation:isolate;
	border:1px solid rgb(255 255 255 / 13%);
	border-top-color:rgb(255 255 255 / 30%);
	background:
		radial-gradient(120% 70% at 12% 0%,rgb(255 255 255 / 20%) 0%,rgb(255 255 255 / 0%) 60%),
		linear-gradient(180deg,rgb(52 82 128) 0%,rgb(25 46 78) 42%,rgb(12 26 48) 100%);
	box-shadow:
		inset 0 2px 0 rgb(255 255 255 / 38%),
		inset 1px 0 0 rgb(255 255 255 / 14%),
		inset -1px 0 0 rgb(0 0 0 / 22%),
		inset 0 -16px 26px -14px rgb(0 0 0 / 55%),
		0 1px 0 #1d3157,
		0 2px 0 #182a4b,
		0 3px 0 #132340,
		0 4px 0 #0f1c35,
		0 5px 0 #0b152a,
		0 12px 18px -4px rgb(0 0 0 / 55%),
		0 34px 50px -18px rgb(0 0 0 / 85%);
	transform:translateZ(0);
	transition:transform .28s cubic-bezier(.2,.7,.2,1),box-shadow .28s ease;
}
/* glossy sheen over the top of the card */
.ssh-card::before,.ssh-pkg::before,.ssh-portal-card::before{
	content:"";position:absolute;z-index:-1;left:-2%;right:-2%;top:0;height:46%;pointer-events:none;
	background:linear-gradient(180deg,rgb(255 255 255 / 15%) 0%,rgb(255 255 255 / 4%) 70%,rgb(255 255 255 / 0%) 100%);
	border-radius:0 0 50% 50% / 0 0 36px 36px;
}
/* light streak that sweeps across on hover */
.ssh-card::after,.ssh-pkg::after,.ssh-portal-card::after{
	content:"";position:absolute;z-index:-1;top:-10%;bottom:-10%;left:-70%;width:34%;pointer-events:none;
	transform:skewX(-20deg);
	background:linear-gradient(90deg,rgb(255 255 255 / 0%),rgb(255 255 255 / 16%),rgb(255 255 255 / 0%));
	transition:left .9s ease;
}
.ssh-card:hover,.ssh-pkg:hover,.ssh-portal-card:hover{
	transform:perspective(1000px) translateY(-7px) rotateX(2.5deg);
	box-shadow:
		inset 0 2px 0 rgb(255 255 255 / 45%),
		inset 1px 0 0 rgb(255 255 255 / 16%),
		inset -1px 0 0 rgb(0 0 0 / 22%),
		inset 0 -16px 26px -14px rgb(0 0 0 / 55%),
		0 1px 0 #1d3157,
		0 2px 0 #182a4b,
		0 3px 0 #132340,
		0 4px 0 #0f1c35,
		0 5px 0 #0b152a,
		0 22px 28px -6px rgb(0 0 0 / 55%),
		0 50px 70px -22px rgb(21 101 255 / 38%);
}
.ssh-card:hover::after,.ssh-pkg:hover::after,.ssh-portal-card:hover::after{left:130%}

/* the highlighted package: same 3D build in blue */
.ssh-pkg--hl{
	border-color:rgb(150 190 255 / 35%);
	border-top-color:rgb(190 215 255 / 60%);
	background:
		radial-gradient(120% 70% at 12% 0%,rgb(255 255 255 / 9%) 0%,rgb(255 255 255 / 0%) 60%),
		linear-gradient(180deg,rgb(15 50 135) 0%,rgb(9 32 96) 45%,rgb(5 17 54) 100%);
	box-shadow:
		inset 0 2px 0 rgb(255 255 255 / 50%),
		inset 1px 0 0 rgb(255 255 255 / 20%),
		inset -1px 0 0 rgb(0 0 0 / 22%),
		inset 0 -16px 26px -14px rgb(0 10 50 / 60%),
		0 1px 0 #1648b8,
		0 2px 0 #123d9f,
		0 3px 0 #0f3388,
		0 4px 0 #0b2a70,
		0 5px 0 #08205a,
		0 12px 18px -4px rgb(0 10 60 / 55%),
		0 34px 60px -16px rgb(21 101 255 / 55%);
}
.ssh-pkg--hl:hover{
	box-shadow:
		inset 0 2px 0 rgb(255 255 255 / 55%),
		inset 1px 0 0 rgb(255 255 255 / 20%),
		inset -1px 0 0 rgb(0 0 0 / 22%),
		inset 0 -16px 26px -14px rgb(0 10 50 / 60%),
		0 1px 0 #1648b8,
		0 2px 0 #123d9f,
		0 3px 0 #0f3388,
		0 4px 0 #0b2a70,
		0 5px 0 #08205a,
		0 22px 28px -6px rgb(0 10 60 / 55%),
		0 50px 80px -20px rgb(21 101 255 / 65%);
}
.ssh-pkg--hl p{color:#e6eeff}

/* raised icon tiles */
.ssh-icon-box{
	background:linear-gradient(180deg,rgb(120 165 255 / 42%),rgb(21 101 255 / 14%));
	border:1px solid rgb(150 190 255 / 40%);
	box-shadow:inset 0 1.5px 0 rgb(255 255 255 / 45%),inset 0 -4px 6px -2px rgb(0 0 0 / 35%),0 3px 0 rgb(8 22 55),0 10px 16px -6px rgb(0 0 0 / 70%);
}
.ssh-circle{
	background:radial-gradient(circle at 30% 22%,rgb(150 190 255 / 40%),rgb(21 101 255 / 10%) 70%);
	box-shadow:inset 0 1.5px 0 rgb(255 255 255 / 40%),inset 0 -4px 6px -2px rgb(0 0 0 / 35%),0 3px 0 rgb(8 22 55),0 10px 16px -6px rgb(0 0 0 / 70%);
}
.ssh-pkg--hl .ssh-circle{border-color:#fff;color:#fff;box-shadow:inset 0 1.5px 0 rgb(255 255 255 / 55%),inset 0 -4px 6px -2px rgb(0 20 90 / 45%),0 3px 0 rgb(8 32 90),0 10px 16px -6px rgb(0 10 60 / 70%)}
.ssh-pkg--hl .ssh-badge{background:rgb(255 255 255 / 20%);border-color:rgb(255 255 255 / 45%)}

/* keep text and icons readable on the lighter top of the raised cards */
.ssh-card .ssh-num{color:#c3d0e6}
.ssh-card p,.ssh-pkg p{color:#c3cfe3}
.ssh-circle{color:#9cc2ff}
.ssh-icon-box{color:#cfe0ff}
.ssh-pkg.ssh-pkg--hl p{color:#fff}

@media (prefers-reduced-motion:reduce){
	.ssh-card,.ssh-pkg,.ssh-portal-card{transition:none}
	.ssh-card::after,.ssh-pkg::after,.ssh-portal-card::after{display:none}
	.ssh-card:hover,.ssh-pkg:hover,.ssh-portal-card:hover{transform:none}
}

/* 1.0.4: clearer icons (bright glyph on a dark tile, thicker lines) */
.ssh-icon-box{
	width:48px;height:48px;color:#fff;
	background:linear-gradient(180deg,rgb(30 70 150),rgb(10 28 70));
	border:1px solid rgb(120 175 255 / 70%);
}
.ssh-icon-box svg,.ssh-circle svg{stroke-width:2.3;filter:drop-shadow(0 0 6px rgb(120 175 255 / 60%))}
.ssh-circle{
	width:52px;height:52px;color:#fff;
	background:radial-gradient(circle at 30% 22%,rgb(40 90 190),rgb(8 24 64) 80%);
	border:2px solid #6fb0ff;
}
.ssh-pkg--hl .ssh-circle{
	color:#fff;border-color:#fff;
	background:radial-gradient(circle at 30% 22%,rgb(40 110 255),rgb(8 36 120) 80%);
}
.ssh-pkg--hl .ssh-badge{background:rgb(255 255 255 / 16%);border-color:rgb(255 255 255 / 55%)}

/* 1.0.5: darker highlighted card, bright blue button that stays readable in every state */
.ssh-pkg--hl{border-color:rgb(110 160 255 / 40%);border-top-color:rgb(170 200 255 / 55%)}
.ssh-pkg--hl .ssh-circle{background:radial-gradient(circle at 30% 22%,rgb(25 80 200),rgb(6 22 70) 80%)}
.ssh-pkg.ssh-pkg--hl .ssh-btn,
.ssh-page .ssh-pkg--hl a.ssh-btn:link,.ssh-page .ssh-pkg--hl a.ssh-btn:visited,.ssh-page .ssh-pkg--hl a.ssh-btn:focus,.ssh-page .ssh-pkg--hl a.ssh-btn:active{
	background:#1565ff;color:#fff!important;border:1px solid rgb(255 255 255 / 40%);
	box-shadow:inset 0 1px 0 rgb(255 255 255 / 40%),0 3px 0 rgb(4 20 80),0 10px 16px -6px rgb(0 10 60 / 70%);
}
.ssh-page .ssh-pkg--hl a.ssh-btn:hover{background:#2a76ff;color:#fff!important}
