.safro-home {
    background: radial-gradient(ellipse at 72% 0%, #17233a, transparent 58rem), #101114;
}
.safro-home .hero { isolation: isolate; }
.safro-home .hero-layout {
    min-height: clamp(470px, 67svh, 680px);
    gap: clamp(12px, 5vw, 76px);
}
.safro-home .hero-copy h1 { font-size: clamp(41px, 5.15vw, 79px); }
.safro-home .hero-copy em { color: #aebfff; }
.safro-home .hero .machine {
    overflow: clip;
    border: 1px solid #889dd533;
    border-radius: clamp(14px, 3vw, 32px);
    box-shadow: 0 30px 72px #05060c52, inset 0 1px #a8b7e221;
    background: radial-gradient(ellipse at 50% 44%, #263760 0%, #191f32 55%, #131722 100%);
}
.safro-home .hero .machine-grid { opacity: .7; }
.safro-home .button {
    border: 1px solid #dee6ff55;
    border-radius: 10px;
    background: linear-gradient(135deg, #d2dcff, #9badf5);
    box-shadow: 0 5px 20px #28344442;
}
.safro-home .button:hover { background: #dae3ff; }
.safro-home :is(.project, .services article, .shop-teaser-content, .demo-visual) {
    border-radius: 16px;
    box-shadow: 0 18px 36px #0003;
    transition: transform .3s ease, border-color .3s ease;
}
.safro-home :is(.project, .services article, .shop-teaser-content):is(:hover, :focus-within) {
    transform: translateY(-3px);
    border-color: #8697cb;
}
.safro-home .contact-section {
    background: radial-gradient(ellipse at 90% 25%, #2a3556, transparent 47rem), #161c2a;
}
@media (max-width: 760px) {
    .safro-home .hero-layout { min-height: 0; gap: 1rem; }
    .safro-home .hero-copy h1 { font-size: clamp(33px, 8.5vw, 63px); }
    .safro-home .hero .machine { height: clamp(245px, 68vw, 375px); }
}

@media (prefers-reduced-motion: no-preference) {
    html:has(.safro-home) { scroll-behavior: smooth; }
}
.safro-home .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: min(100%, 470px);
}
.safro-home .hero-actions .button {
    min-height: 50px;
    text-align: center;
    transform: none;
}
.safro-home .hero-actions .outline {
    color: #e0e8ff;
    background: #25314a65;
    border-color: #b7c9ff57;
}
.safro-home .hero-actions .outline:hover { background: #344568; }
.safro-home .hero-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 9px; }
@media (max-width: 760px) {
    .safro-home .hero-copy { text-align: center; }
    .safro-home .hero-copy .intro, .safro-home .hero-actions { margin-inline: auto; }
    .safro-home .hero-links { justify-content: center; }
}
@media (max-width: 480px) {
    .safro-home .hero-actions { grid-template-columns: 1fr; max-width: 340px; }
}

.safro-home :is(.hero-actions .button, .hero-links a, .hero-copy .intro, .section-heading) {
    min-width: 0;
    overflow-wrap: anywhere;
}
