/* Landing layout only. Colors and components come from the design system (/ds/skillgram.css). */
.wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.25rem; }
.top { padding-top: 1.25rem; }
.logo { font-weight: 700; font-size: 1.125rem; }
h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.12; margin: 0 0 1rem; }
h2 { font-size: 1.5rem; margin: 3rem 0 .5rem; }
h3 { font-size: 1.0625rem; margin: .75rem 0 .25rem; }
.lead { font-size: 1.125rem; color: var(--sg-color-muted); margin: 0 0 1.5rem; }
.muted { color: var(--sg-color-muted); }
a { color: var(--sg-color-text); }
.top, .hero { padding-top: 1.5rem; }

.hero { display: grid; gap: 2rem; align-items: center; padding-top: 2.5rem; }
.hero__note { font-size: .8125rem; margin: 0; }
.hero__phones { position: relative; display: flex; justify-content: center; gap: 1rem; }

/* Phone frame: plain CSS around a screenshot, like the GuardAI product page. */
.phone { margin: 0; width: min(46%, 15rem); }
.phone__body { background: var(--sg-color-text); border-radius: 2.25rem; padding: .6rem; box-shadow: 0 1.25rem 2.5rem rgba(27, 27, 26, .18); }
.phone img { display: block; width: 100%; height: auto; border-radius: 1.75rem; background: var(--sg-color-surface); }
.phone--front { margin-top: 2.5rem; }

.benefits { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; }
/* Inverted icons: white glyph on a black circle. */
.benefit__icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--sg-color-accent); color: var(--sg-color-on-accent); }

.features { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1.25rem; }
.features li { display: flex; gap: 1rem; align-items: flex-start; }
.features .benefit__icon { flex: none; }
.features h3 { margin: 0 0 .125rem; }
.features p { margin: 0; }

.top { display: flex; justify-content: space-between; align-items: center; }
.lang { font-size: .875rem; }

.faq { margin-top: 1rem; border-top: 1px solid var(--sg-color-line); }
.faq details { border-bottom: 1px solid var(--sg-color-line); padding: .25rem 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: .75rem 0; }
.faq summary:focus-visible { outline: 2px solid var(--sg-color-focus); outline-offset: 2px; }
.faq p { margin: 0 0 1rem; color: var(--sg-color-muted); }

.share { margin-top: 1.5rem; }
.share p { margin: 0 0 .75rem; }
.share__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.share .msg { margin-top: .5rem; }

.form-section { max-width: 40rem; }
.form-section form { margin-top: 1rem; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .875rem; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .125rem; flex: none; accent-color: var(--sg-color-accent); }
select.sg-field__input { appearance: auto; }
.trap { position: absolute; left: -9999px; }
.msg { min-height: 1.5rem; margin: 0; font-size: .9375rem; }
.msg.error { color: var(--sg-color-avail-busy); }
.msg.ok { color: var(--sg-color-ok); font-weight: 600; }
.foot { margin-top: 3rem; padding: 2rem 0; font-size: .875rem; color: var(--sg-color-muted); background: var(--sg-color-surface); border-top: 1px solid var(--sg-color-line); }
.foot p { margin: .25rem 0; }
.foot strong { color: var(--sg-color-text); }
.foot__operator { font-style: normal; max-width: 28rem; }
.foot__grid { display: grid; gap: 1.5rem; }
.foot__bottom { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--sg-color-line); }
.foot__badge { flex: none; }
.foot__badge img { display: block; height: 4.5rem; width: auto; }
@media (min-width: 52rem) {
  .foot__grid { grid-template-columns: 1fr auto; }
  .foot__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 52rem) {
  .hero { grid-template-columns: 1.1fr 1fr; }
  .hero__note { grid-column: 1 / -1; }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.tiers { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 1rem; }
.tier__who { margin: 0; font-weight: 600; }
.tier__what { margin: .25rem 0; font-size: 1.375rem; font-weight: 700; }
.tier__left { margin: 0; font-size: .875rem; min-height: 1.25rem; }
@media (min-width: 52rem) { .tiers { grid-template-columns: repeat(2, 1fr); } }

.foot__links { display: flex; flex-direction: column; gap: .5rem; }

/* Thank-you dialog after registration (native <dialog>: focus trap, Esc and backdrop come from the browser). */
.thanks { width: min(24rem, calc(100% - 2rem)); padding: 2rem 1.5rem 1.5rem; border: 1px solid var(--sg-color-line); border-radius: 1.25rem; background: var(--sg-color-surface); color: var(--sg-color-text); text-align: center; }
.thanks::backdrop { background: rgba(27, 27, 26, .45); }
.thanks h2 { font-size: 1.25rem; margin: 1rem 0 .5rem; }
.thanks p { margin: 0 0 1.5rem; }
.thanks__icon { display: inline-grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--sg-color-ok-bg); color: var(--sg-color-ok); }
.thanks__icon .sg-icon { width: 2rem; height: 2rem; }
.opt-hint { font-weight: 400; color: var(--sg-color-muted); }
@media (min-width: 52rem) { .benefits--2 { grid-template-columns: repeat(2, 1fr); } }
.opt-hint { font-weight: 400; color: var(--sg-color-muted); }
@media (min-width: 52rem) { .benefits--2 { grid-template-columns: repeat(2, 1fr); } }

/* Bigger inverted icons: white glyph on black, also in the form option cards. */
.benefit__icon { width: 3.25rem; height: 3.25rem; }
.benefit__icon .sg-icon { width: 1.5rem; height: 1.5rem; }
.form-section .sg-option-card__icon { width: 3rem; height: 3rem; background: var(--sg-color-accent); color: var(--sg-color-on-accent); }
.form-section .sg-option-card__icon .sg-icon { width: 1.5rem; height: 1.5rem; }

/* Hero: copy on the left, Map and Inquiry phones on the right, larger than the base phone size. */
@media (min-width: 52rem) {
  .hero { grid-template-columns: 1fr 1.15fr; }
  .hero__phones .phone { width: min(48%, 19rem); }
}

.logo { display: inline-flex; align-items: center; gap: .5rem; color: var(--sg-color-text); text-decoration: none; font-size: 1.25rem; }
.logo img { display: block; }

/* Cookie notice (consent.js) */
.consent { position: fixed; z-index: 50; left: 1rem; right: 1rem; bottom: 1rem; max-width: 34rem; margin-inline: auto; padding: 1.25rem; background: var(--sg-color-surface); color: var(--sg-color-text); border: 1px solid var(--sg-color-line); border-radius: 1rem; box-shadow: 0 1rem 2.5rem rgba(27, 27, 26, .18); }
.consent h2 { font-size: 1.0625rem; margin: 0 0 .5rem; }
.consent p { margin: 0 0 1rem; font-size: .875rem; color: var(--sg-color-muted); }
.consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--sg-color-text); text-decoration: underline; cursor: pointer; text-align: left; }
