/* =========================================================
   agyuri.hu - fő stíluslap
   ========================================================= */

:root {
    color-scheme: light;
    --ink: #12222a;
    --ink-soft: #33474f;
    --muted: #5f727a;
    --line: #dde6e8;
    --paper: #f5f9f9;
    --surface: #ffffff;
    --deep: #0d2b31;
    --deep-2: #124149;
    --teal: #0f766e;
    --teal-dark: #0b4f4a;
    --teal-soft: #e3f2ef;
    --amber: #c98a1c;
    --amber-soft: #fbf1dd;
    --violet: #6d4bb5;
    --violet-soft: #efeafb;
    --green: #128a3d;
    --green-dark: #0c6a2e;
    --radius: 16px;
    --radius-lg: 22px;
    --shadow-sm: 0 6px 18px rgba(18, 34, 42, 0.07);
    --shadow: 0 18px 45px rgba(18, 34, 42, 0.10);
    --shadow-lg: 0 26px 70px rgba(18, 34, 42, 0.16);
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--teal-dark);
}

h1, h2, h3 {
    line-height: 1.2;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.18rem; }

p { margin: 0 0 16px; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 40px);
}

.container.narrow {
    max-width: 800px;
}

.section {
    padding: clamp(52px, 7vw, 92px) 0;
}

.eyebrow {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto clamp(32px, 4vw, 52px);
    text-align: center;
}

.section-heading.left {
    margin-left: 0;
    text-align: left;
}

.section-heading p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--ink);
    color: #fff;
    padding: 12px 18px;
    border-radius: 0 0 10px 0;
}

.skip-link:focus {
    left: 0;
}

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

/* ---------------- Gombok ---------------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.28);
}

.button.primary:hover {
    background: var(--teal-dark);
}

.button.secondary {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.button.secondary:hover {
    border-color: var(--teal);
    color: var(--teal-dark);
}

.button.ghost {
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    border-color: currentColor;
    opacity: 0.95;
}

.button.ghost:hover {
    background: rgba(255, 255, 255, 0.16);
}

.button.download {
    width: 100%;
    padding: 17px 24px;
    font-size: 1.12rem;
    letter-spacing: 0.01em;
    background: linear-gradient(180deg, #19a94c, var(--green-dark));
    color: #fff;
    box-shadow: 0 12px 26px rgba(10, 92, 42, 0.35);
}

.button.download:hover {
    background: linear-gradient(180deg, #21c25b, var(--green));
}

.button .icon {
    flex: 0 0 auto;
}

.link-out {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.94rem;
    text-decoration: none;
    color: var(--teal-dark);
}

.link-out:hover {
    text-decoration: underline;
}

/* ---------------- Fejléc ---------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(245, 249, 249, 0.92);
    border-bottom: 1px solid rgba(221, 230, 232, 0.9);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 10px clamp(18px, 4vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 70px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
}

.brand-logo {
    width: auto;
    height: 42px;
}

.brand-text strong {
    display: block;
    font-size: 1.22rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.brand-text strong span {
    color: var(--amber);
}

.brand-text small {
    display: block;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--ink-soft);
    text-decoration: none;
    transition: background 0.16s ease, color 0.16s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--teal-soft);
    color: var(--teal-dark);
}

.main-nav .nav-phone {
    margin-left: 8px;
    background: var(--ink);
    color: #fff;
    white-space: nowrap;
}

.main-nav .nav-phone:hover {
    background: var(--teal-dark);
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
    padding: 11px 12px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    margin: 4px 0;
}

/* ---------------- Hero (távsegítség) ---------------- */

.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(1100px 520px at 15% -10%, #1b5a63 0%, transparent 60%),
                linear-gradient(160deg, var(--deep) 0%, #0a2026 100%);
    color: #eaf5f4;
    padding: clamp(32px, 4.2vw, 52px) 0 clamp(36px, 4.6vw, 56px);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -60% 55%;
    height: 380px;
    background: radial-gradient(closest-side, rgba(201, 138, 28, 0.22), transparent);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 40px);
}

.hero .eyebrow {
    color: #7fd4c6;
}

.hero-copy {
    max-width: 660px;
    margin-bottom: clamp(22px, 2.8vw, 34px);
}

.hero h1 {
    font-size: clamp(1.55rem, 2.9vw, 2.25rem);
    margin-bottom: 10px;
    color: #fff;
}

.hero h1 span {
    color: #f0b64a;
}

.hero-lead {
    font-size: clamp(0.98rem, 1.2vw, 1.08rem);
    color: rgba(234, 245, 244, 0.86);
    max-width: 560px;
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.hero .button.ghost {
    color: #eaf5f4;
    border-color: rgba(234, 245, 244, 0.45);
}

/* ---------------- Távsegítség kártyák ---------------- */

.remote-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.remote-card {
    display: flex;
    flex-direction: column;
    padding: clamp(22px, 2.4vw, 30px);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.remote-card:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 182, 74, 0.55);
    background: rgba(255, 255, 255, 0.1);
}

.remote-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.remote-index {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f0b64a;
    color: #3a2a06;
    font-weight: 800;
}

.remote-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.9);
}

.remote-card h2,
.remote-card h3 {
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 8px;
}

.remote-card h2 small,
.remote-card h3 small {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7fd4c6;
}

.remote-card p {
    color: rgba(234, 245, 244, 0.82);
    font-size: 0.97rem;
    flex: 1 1 auto;
}

/* Világos háttéren (támogatás oldal) */
.remote-grid.on-light .remote-card {
    background: var(--surface);
    border-color: var(--line);
    box-shadow: var(--shadow);
}

.remote-grid.on-light .remote-card:hover {
    border-color: var(--teal);
}

.remote-grid.on-light .remote-card h3 {
    color: var(--ink);
}

.remote-grid.on-light .remote-card h3 small {
    color: var(--teal);
}

.remote-grid.on-light .remote-card p {
    color: var(--muted);
}

.remote-grid.on-light .remote-badge {
    background: var(--teal-soft);
    color: var(--teal-dark);
}


/* ---------------- Szoftver kártyák ---------------- */

.software-section {
    background: var(--paper);
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(20px, 2.4vw, 28px);
}

.software-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.software-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #c7d8da;
}

.card-media {
    display: block;
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(135deg, #eef5f4, #e2eef0);
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
}

.card-media.is-shot img {
    object-fit: cover;
    object-position: top center;
}

.card-media.is-logo {
    display: grid;
    place-items: center;
    padding: 26px;
}

.card-media.is-logo img {
    width: auto;
    max-height: 64px;
    object-fit: contain;
}

.card-body {
    flex: 1 1 auto;
    padding: 22px 24px 4px;
}

.card-category {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--teal-soft);
    color: var(--teal-dark);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.card-body h3 a:hover {
    color: var(--teal-dark);
}

.card-tagline {
    margin: 0 0 10px;
    font-weight: 600;
    color: var(--amber);
    font-size: 0.95rem;
}

.card-short {
    color: var(--muted);
    font-size: 0.97rem;
}

.card-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 6px;
    padding: 0;
}

.card-chips li {
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #f7fafa;
    font-size: 0.8rem;
    color: var(--ink-soft);
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 24px 24px;
}

/* ---------------- Rólam ---------------- */

.about-section {
    background: var(--surface);
    border-top: 1px solid var(--line);
}

.about-inner {
    max-width: 780px;
}

.about-inner p {
    color: var(--muted);
}

/* ---------------- Morzsamenü, aloldal fejléc ---------------- */

.breadcrumb {
    padding: 16px 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.breadcrumb .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--teal-dark);
    text-decoration: underline;
}

.breadcrumb [aria-current] {
    color: var(--ink);
    font-weight: 600;
}

.page-hero {
    padding: clamp(30px, 5vw, 56px) 0 0;
}

.page-hero .hero-lead {
    color: var(--muted);
    font-size: clamp(1.02rem, 1.5vw, 1.15rem);
}

/* ---------------- Szoftver aloldal ---------------- */

.software-hero {
    padding: clamp(26px, 4vw, 48px) 0 clamp(10px, 2vw, 24px);
}

.software-hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(28px, 4vw, 54px);
    align-items: center;
}

.software-tagline {
    margin: 0 0 14px;
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--amber);
}

.software-lead {
    color: var(--muted);
    font-size: 1.03rem;
}

.software-hero-media {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(135deg, #eef5f4, #e2eef0);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.software-hero-media.is-shot img {
    width: 100%;
    height: auto;
}

.software-hero-media.is-logo {
    display: grid;
    place-items: center;
    padding: clamp(36px, 5vw, 64px);
}

.software-hero-media.is-logo img {
    width: auto;
    max-height: 90px;
}

.highlight-section {
    padding-top: clamp(30px, 4vw, 52px);
    padding-bottom: clamp(30px, 4vw, 52px);
}

.highlight-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.highlight-grid li {
    padding: 24px 26px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.highlight-grid h2 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.highlight-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
}

.detail-section {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: clamp(30px, 4vw, 56px);
    align-items: start;
}

.detail-text p {
    color: var(--ink-soft);
    font-size: 1.02rem;
}

.detail-cta {
    margin-top: 28px;
    padding: 24px 26px;
    border-radius: var(--radius);
    background: var(--teal-soft);
}

.detail-cta p {
    margin: 0 0 14px;
    font-weight: 600;
    color: var(--teal-dark);
}

.detail-features {
    padding: 28px 28px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--paper);
    position: sticky;
    top: 92px;
}

.detail-features h2 {
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    font-size: 0.97rem;
    color: var(--ink-soft);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(18px, 2.4vw, 28px);
}

.gallery-grid.single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 940px;
    margin: 0 auto;
}

.gallery-grid figure {
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.gallery-grid img {
    width: 100%;
    height: auto;
}

.gallery-grid figcaption {
    padding: 12px 18px;
    font-size: 0.88rem;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.others-section {
    background: var(--surface);
    border-top: 1px solid var(--line);
}

.others-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.other-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--paper);
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.other-card:hover {
    transform: translateY(-3px);
    border-color: var(--teal);
    box-shadow: var(--shadow-sm);
}

.other-card strong {
    font-size: 1.12rem;
}

.other-tagline {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 6px;
}

.notfound {
    text-align: center;
}

/* ---------------- Támogatás oldal ---------------- */

.support-remote {
    padding-top: clamp(40px, 5vw, 64px);
}

.support-section {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(18px, 2.4vw, 26px);
}

.support-card {
    display: flex;
    flex-direction: column;
    padding: 28px 28px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    border-left: 5px solid var(--teal);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.support-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.support-card.accent-violet { border-left-color: var(--violet); }
.support-card.accent-amber  { border-left-color: var(--amber); }
.support-card.accent-teal   { border-left-color: var(--teal); }

.support-lead {
    margin: 0 0 4px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.support-card.accent-violet .support-lead { color: var(--violet); }
.support-card.accent-amber .support-lead  { color: var(--amber); }
.support-card.accent-teal .support-lead   { color: var(--teal); }

.support-card h3 {
    font-size: 1.32rem;
    margin-bottom: 10px;
}

.support-desc {
    flex: 1 1 auto;
    color: var(--muted);
    font-size: 0.98rem;
}

.support-meta {
    margin: 0 0 18px;
    font-size: 0.84rem;
    color: var(--ink-soft);
    opacity: 0.8;
}

.support-card .button {
    align-self: flex-start;
}

.help-box {
    text-align: center;
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #f4faf9, #e8f4f1);
    border: 1px solid var(--line);
}

.help-box p {
    color: var(--muted);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.help-box .hero-actions {
    justify-content: center;
}

/* ---------------- Lábléc ---------------- */

.site-footer {
    background: linear-gradient(160deg, var(--deep) 0%, #091b21 100%);
    color: rgba(234, 245, 244, 0.82);
    padding: clamp(44px, 5vw, 68px) 0 24px;
}

.footer-inner {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 40px);
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: clamp(24px, 3vw, 44px);
}

.footer-brand strong {
    display: block;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.footer-brand strong span {
    color: #f0b64a;
}

.footer-brand p {
    max-width: 380px;
    font-size: 0.96rem;
}

.footer-col h3 {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7fd4c6;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
    font-size: 0.96rem;
}

.footer-col a {
    color: rgba(234, 245, 244, 0.82);
    text-decoration: none;
}

.footer-col a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    width: 100%;
    max-width: var(--container);
    margin: clamp(30px, 4vw, 48px) auto 0;
    padding: 18px clamp(18px, 4vw, 40px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.88rem;
}

.footer-bottom p {
    margin: 0;
}

.to-top {
    color: rgba(234, 245, 244, 0.82);
    text-decoration: none;
    font-weight: 600;
}

.to-top:hover {
    color: #fff;
}

/* ---------------- Reszponzív ---------------- */

@media (max-width: 1024px) {
    .software-hero-inner,
    .detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .detail-features {
        position: static;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 880px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px clamp(18px, 4vw, 40px) 20px;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .site-header {
        position: sticky;
    }

    .header-inner {
        position: relative;
    }

    .main-nav a {
        padding: 12px 14px;
    }

    .main-nav .nav-phone {
        margin-left: 0;
        text-align: center;
        margin-top: 6px;
    }

    .remote-grid,
    .highlight-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 620px) {
    html {
        scroll-padding-top: 80px;
    }

    .brand-text small {
        display: none;
    }

    .software-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .card-actions,
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .card-actions .button,
    .hero-actions .button {
        width: 100%;
    }

    .card-actions .link-out {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}
