/* VmwarePanel public site. Brand colours come from the logo: graphite disc,
   lime mark, 45-degree long shadow. */
@font-face {
    font-family: "IRANSans";
    src: url("/site/fonts/iransans.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "IRANSans";
    src: url("/site/fonts/iransans-bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

:root {
    --graphite: #25282c;
    --graphite-deep: #1b1d20;
    --shadow: #202226;
    --lime: #c2d62f;
    --lime-ink: #1f2400;
    --paper: #f2f4ef;
    --ink: #1a1d20;
    --slate: #59616a;
    --line: #d7dcd1;
    --on-dark: #eef0ea;
    --on-dark-muted: #a9b0a6;
    --font: "IRANSans", Tahoma, "Segoe UI", system-ui, sans-serif;
    --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    --wrap: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
}

[dir="ltr"] body { line-height: 1.6; }

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

a { color: inherit; }

:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip {
    position: absolute;
    inset-inline-start: 1rem;
    top: -4rem;
    background: var(--lime);
    color: var(--lime-ink);
    padding: .5rem 1rem;
    z-index: 10;
}
.skip:focus { top: 1rem; }

.wrap {
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

/* Hero: graphite field with the logo's long shadow running behind the log. */
.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, transparent 0 46%, var(--shadow) 46% 100%),
        var(--graphite);
    color: var(--on-dark);
}
[dir="rtl"] .hero {
    background:
        linear-gradient(225deg, transparent 0 46%, var(--shadow) 46% 100%),
        var(--graphite);
}

.bar {
    max-width: var(--wrap);
    margin-inline: auto;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

.links {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-inline-start: auto;
}
.links a,
.lang {
    text-decoration: none;
    color: var(--on-dark-muted);
    font-size: .95rem;
}
.links a:hover,
.lang:hover { color: var(--on-dark); }

.lang {
    border: 1px solid #3b3f44;
    border-radius: 999px;
    padding: .2rem .9rem;
}

.hero-body {
    max-width: var(--wrap);
    margin-inline: auto;
    padding: 3rem 1.25rem 5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: center;
}

.pitch h1 {
    margin: 0 0 1.25rem;
    font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem);
    line-height: 1.35;
    font-weight: 700;
    color: #fff;
    max-width: 16ch;
}
[dir="rtl"] .pitch h1 { max-width: 22ch; }
[dir="ltr"] .pitch h1 { line-height: 1.12; letter-spacing: -.01em; }

.pitch p {
    margin: 0 0 2rem;
    max-width: 38rem;
    font-size: 1.1rem;
    color: var(--on-dark-muted);
}

.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn {
    display: inline-block;
    padding: .7rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--lime); color: var(--lime-ink); }
.btn-primary:hover { background: #d3e64a; }
.btn-ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1px #4a4f55; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--on-dark-muted); }

/* The provisioning log: the one moving element on the page. */
.log {
    margin: 0;
    background: var(--graphite-deep);
    border-radius: 14px;
    border: 1px solid #33373c;
    overflow: hidden;
}
.log figcaption {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1.1rem;
    border-bottom: 1px solid #2d3035;
    color: var(--on-dark-muted);
    font-size: .9rem;
}
.dot {
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: var(--lime);
}
.log ol {
    margin: 0;
    padding: 1.1rem 1.1rem .6rem;
    list-style: none;
    font-family: var(--mono);
    font-size: .82rem;
    line-height: 1.9;
    color: #d6dbd2;
    text-align: left;
}
.log time { color: #737b72; margin-inline-end: .5rem; }
.log li:last-child { color: var(--lime); }
.progress {
    height: 3px;
    background: #2d3035;
}
.progress span {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--lime);
    transform-origin: left center;
}

@media (prefers-reduced-motion: no-preference) {
    .log li {
        opacity: 0;
        animation: log-line .3s ease-out forwards;
        animation-delay: calc(.35s + var(--i) * .45s);
    }
    .progress span {
        transform: scaleX(0);
        animation: progress 2.7s .35s ease-in-out forwards;
    }
}
@keyframes log-line {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}
@keyframes progress { to { transform: scaleX(1); } }

/* Sections */
main section { padding-block: 5rem; }

h2 {
    margin: 0 0 2.5rem;
    font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
    line-height: 1.45;
    font-weight: 700;
}

/* A real sequence, so the steps are numbered and joined by a line. */
.steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    position: relative;
}
.steps::before {
    content: "";
    position: absolute;
    top: 1.35rem;
    inset-inline: 1.4rem 1.4rem;
    height: 2px;
    background: var(--line);
}
.steps li { position: relative; }
.step-num {
    position: relative;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--graphite);
    color: var(--lime);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.1rem;
}
.steps h3 {
    margin: 0 0 .5rem;
    font-size: 1.08rem;
    line-height: 1.6;
}
.steps p { margin: 0; color: var(--slate); font-size: .96rem; }

.features { background: #fff; border-block: 1px solid var(--line); }

.feature-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem;
}
.feature-group h3 {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--graphite);
}
.feature-group ul { margin: 0; padding: 0; list-style: none; }
.feature-group li {
    position: relative;
    padding-block: .7rem;
    padding-inline-start: 1.6rem;
    border-bottom: 1px solid var(--line);
}
.feature-group li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 1.35rem;
    width: .6rem;
    height: .6rem;
    background: var(--lime);
    box-shadow: 0 0 0 2px var(--graphite);
    border-radius: 2px;
}
[dir="ltr"] .feature-group li::before { top: 1.2rem; }

.requirements ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.requirements li {
    padding: .55rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.contact { background: var(--graphite); color: var(--on-dark); }
.contact p { margin: -1.5rem 0 2rem; color: var(--on-dark-muted); max-width: 38rem; }
.contact dl {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 3rem;
}
.contact dt { color: var(--on-dark-muted); font-size: .9rem; }
.contact dd { margin: 0; font-size: 1.15rem; font-weight: 700; text-align: start; }
.contact dd a { color: var(--lime); text-decoration: none; }
.contact dd a:hover { text-decoration: underline; }

.footer {
    padding-block: 1.75rem;
    color: var(--slate);
    font-size: .9rem;
}
.footer .wrap { display: flex; justify-content: space-between; gap: 1rem; }

/* Tablet */
@media (max-width: 960px) {
    .hero-body { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-bottom: 3.5rem; }
    .pitch h1 { max-width: 20ch; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
    .steps::before { display: none; }
}

/* Phone */
@media (max-width: 640px) {
    .links { display: none; }
    .lang { margin-inline-start: auto; }
    .hero-body { padding-top: 1.5rem; }
    main section { padding-block: 3.5rem; }
    .steps,
    .feature-cols { grid-template-columns: minmax(0, 1fr); }
    .feature-cols { gap: 2.5rem; }
    .log ol { font-size: .74rem; padding-inline: .8rem; overflow-x: auto; }
    .log li { white-space: nowrap; }
    .footer .wrap { flex-direction: column; }
}
