

/* Software Mart: Office 365 2-year product page — scoped to .sm-office365-2y */
/*
 * Product-specific storefront styles for SKU OFFICE365Y2.
 * Every selector is scoped beneath .sm-office365-2y.
 * This file is valid SCSS and intentionally avoids JavaScript and animation.
 */
.sm-office365-2y {
  --sm-ink: #101828;
  --sm-muted: #526071;
  --sm-line: #d9e0e8;
  --sm-panel: #f5f7fa;
  --sm-white: #ffffff;
  --sm-navy: #10243f;
  --sm-navy-2: #17385f;
  --sm-accent: #b63d0d;
  --sm-accent-dark: #8f2c08;
  --sm-positive: #147a52;
  --sm-positive-bg: #edf9f3;
  --sm-danger: #9f251d;
  --sm-danger-bg: #fff3f1;
  --sm-shadow: 0 18px 48px rgba(16, 36, 63, 0.1);
  color: var(--sm-ink);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 1180px;
  overflow-wrap: anywhere;
}

.sm-office365-2y *,
.sm-office365-2y *::before,
.sm-office365-2y *::after {
  box-sizing: border-box;
}

.sm-office365-2y h2,
.sm-office365-2y h3,
.sm-office365-2y p,
.sm-office365-2y ul,
.sm-office365-2y ol,
.sm-office365-2y dl {
  margin-top: 0;
}

.sm-office365-2y h2 {
  color: var(--sm-ink);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.sm-office365-2y h3 {
  color: var(--sm-ink);
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: 0.55rem;
}

.sm-office365-2y a {
  color: var(--sm-accent-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.sm-office365-2y a:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(182, 61, 13, 0.32);
  outline-offset: 3px;
}

.sm-office365-2y__hero {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 137, 72, 0.22), transparent 30%),
    linear-gradient(145deg, #f8fafc 0%, #ffffff 58%, #fff7f1 100%);
  border: 1px solid var(--sm-line);
  border-radius: 24px;
  box-shadow: var(--sm-shadow);
  margin: 1.5rem 0 2.5rem;
  overflow: hidden;
  padding: clamp(1.4rem, 4vw, 3.5rem);
  position: relative;
}

.sm-office365-2y__hero::before {
  background: var(--sm-accent);
  content: "";
  height: 5px;
  inset: 0 0 auto;
  position: absolute;
}

.sm-office365-2y__eyebrow {
  color: var(--sm-accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.sm-office365-2y__lead {
  color: var(--sm-muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  margin-bottom: 1.6rem;
  max-width: 790px;
}

.sm-office365-2y__fact-strip {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin-bottom: 1.3rem;
  padding: 0;
}

.sm-office365-2y__fact-strip li {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--sm-line);
  border-radius: 14px;
  display: flex;
  gap: 0.7rem;
  min-height: 94px;
  padding: 1rem;
}

.sm-office365-2y__fact-strip svg {
  fill: var(--sm-accent);
  flex: 0 0 26px;
  height: 26px;
  margin-top: 0.05rem;
  width: 26px;
}

.sm-office365-2y__fact-strip span {
  color: var(--sm-muted);
  display: block;
  font-size: 0.88rem;
  line-height: 1.4;
}

.sm-office365-2y__fact-strip strong {
  color: var(--sm-ink);
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}

.sm-office365-2y__notice {
  align-items: flex-start;
  border-radius: 14px;
  display: flex;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
}

.sm-office365-2y__notice--critical {
  background: var(--sm-danger-bg);
  border: 1px solid #f0bbb5;
  color: #681914;
}

.sm-office365-2y__notice svg {
  fill: currentColor;
  flex: 0 0 24px;
  height: 24px;
  width: 24px;
}

.sm-office365-2y__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.sm-office365-2y__button {
  align-items: center;
  border: 2px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  text-align: center;
  text-decoration: none;
}

.sm-office365-2y__button--primary {
  background: var(--sm-accent);
  color: var(--sm-white) !important;
}

.sm-office365-2y__button--primary:hover {
  background: var(--sm-accent-dark);
}

.sm-office365-2y__button--secondary {
  background: var(--sm-white);
  border-color: var(--sm-navy);
  color: var(--sm-navy) !important;
}

.sm-office365-2y__button--secondary:hover {
  background: #eef3f8;
}

.sm-office365-2y__button--light {
  background: var(--sm-white);
  color: var(--sm-navy) !important;
  flex: 0 0 auto;
}

.sm-office365-2y__section {
  border-bottom: 1px solid var(--sm-line);
  padding: clamp(2.2rem, 5vw, 4.2rem) clamp(0rem, 2.2vw, 1.5rem);
}

.sm-office365-2y__section--tint,
.sm-office365-2y__section--dark {
  border: 0;
  border-radius: 22px;
  margin: 1.25rem 0;
  padding-inline: clamp(1.2rem, 4vw, 3rem);
}

.sm-office365-2y__section--tint {
  background: var(--sm-panel);
}

.sm-office365-2y__section--dark {
  background: linear-gradient(145deg, var(--sm-navy), var(--sm-navy-2));
  color: #eaf0f7;
}

.sm-office365-2y__section--dark h2,
.sm-office365-2y__section--dark h3 {
  color: var(--sm-white);
}

.sm-office365-2y__section--dark .sm-office365-2y__eyebrow {
  color: #ffb38b;
}

.sm-office365-2y__section-heading {
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.sm-office365-2y__spec-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sm-office365-2y__spec-grid div {
  border-bottom: 1px solid var(--sm-line);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(125px, 0.75fr) minmax(0, 1.6fr);
  padding: 1rem 0;
}

.sm-office365-2y__spec-grid div:nth-child(odd) {
  padding-right: 1.4rem;
}

.sm-office365-2y__spec-grid div:nth-child(even) {
  border-left: 1px solid var(--sm-line);
  padding-left: 1.4rem;
}

.sm-office365-2y__spec-grid dt {
  color: var(--sm-ink);
  font-weight: 800;
}

.sm-office365-2y__spec-grid dd {
  color: var(--sm-muted);
  margin: 0;
}

.sm-office365-2y__card-grid {
  display: grid;
  gap: 1rem;
}

.sm-office365-2y__card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sm-office365-2y__card {
  background: var(--sm-white);
  border: 1px solid var(--sm-line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(16, 36, 63, 0.06);
  padding: 1.25rem;
}

.sm-office365-2y__card p,
.sm-office365-2y__faq-grid p {
  color: var(--sm-muted);
  margin-bottom: 0;
}

.sm-office365-2y__icon {
  align-items: center;
  background: #fff0e8;
  border-radius: 12px;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  margin-bottom: 0.85rem;
  width: 46px;
}

.sm-office365-2y__icon svg {
  fill: var(--sm-accent);
  height: 24px;
  width: 24px;
}

.sm-office365-2y__decision-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sm-office365-2y__decision {
  border: 1px solid var(--sm-line);
  border-radius: 18px;
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.sm-office365-2y__decision--yes {
  background: var(--sm-positive-bg);
  border-color: #abdcc7;
}

.sm-office365-2y__decision--no {
  background: var(--sm-danger-bg);
  border-color: #f0bbb5;
}

.sm-office365-2y__decision h3 {
  align-items: center;
  display: flex;
  gap: 0.55rem;
}

.sm-office365-2y__decision h3 svg {
  fill: currentColor;
  flex: 0 0 24px;
  height: 24px;
  width: 24px;
}

.sm-office365-2y__decision--yes h3 {
  color: var(--sm-positive);
}

.sm-office365-2y__decision--no h3 {
  color: var(--sm-danger);
}

.sm-office365-2y__decision ul,
.sm-office365-2y__requirements ul {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.sm-office365-2y__decision li + li,
.sm-office365-2y__requirements li + li {
  margin-top: 0.45rem;
}

.sm-office365-2y__requirements {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.sm-office365-2y__lifecycle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 1.3rem;
}

.sm-office365-2y__lifecycle a {
  color: #ffd1b8;
}

.sm-office365-2y__steps {
  counter-reset: none;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin-bottom: 1.4rem;
  padding: 0;
}

.sm-office365-2y__steps li {
  border: 1px solid var(--sm-line);
  border-radius: 15px;
  padding: 1rem;
}

.sm-office365-2y__steps li > span {
  align-items: center;
  background: var(--sm-navy);
  border-radius: 50%;
  color: var(--sm-white);
  display: flex;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  margin-bottom: 0.8rem;
  width: 34px;
}

.sm-office365-2y__steps p {
  color: var(--sm-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.sm-office365-2y__policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-bottom: 0;
}

.sm-office365-2y__table-scroll {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
}

.sm-office365-2y__comparison {
  background: var(--sm-white);
  border-collapse: separate;
  border-spacing: 0;
  min-width: 820px;
  width: 100%;
}

.sm-office365-2y__comparison th,
.sm-office365-2y__comparison td {
  border-bottom: 1px solid var(--sm-line);
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
}

.sm-office365-2y__comparison thead th {
  background: var(--sm-navy);
  color: var(--sm-white);
  font-size: 0.92rem;
}

.sm-office365-2y__comparison thead th:first-child {
  border-radius: 12px 0 0;
}

.sm-office365-2y__comparison thead th:last-child {
  border-radius: 0 12px 0 0;
}

.sm-office365-2y__comparison tbody th {
  color: var(--sm-ink);
  width: 18%;
}

.sm-office365-2y__comparison tbody tr:nth-child(even) td,
.sm-office365-2y__comparison tbody tr:nth-child(even) th {
  background: #f8fafc;
}

.sm-office365-2y__source-note {
  color: var(--sm-muted);
  font-size: 0.86rem;
  margin: 1rem 0 0;
}

.sm-office365-2y__faq-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sm-office365-2y__faq-grid article {
  border: 1px solid var(--sm-line);
  border-radius: 15px;
  padding: 1.15rem;
}

.sm-office365-2y__cta {
  align-items: center;
  background: linear-gradient(135deg, var(--sm-accent-dark), var(--sm-accent));
  border-radius: 22px;
  color: var(--sm-white);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 2rem 0;
  padding: clamp(1.4rem, 4vw, 2.5rem);
}

.sm-office365-2y__cta h2,
.sm-office365-2y__cta .sm-office365-2y__eyebrow {
  color: var(--sm-white);
}

.sm-office365-2y__cta p:last-child {
  margin-bottom: 0;
  max-width: 760px;
}

.sm-office365-2y__sources {
  background: #f8fafc;
  border-left: 4px solid var(--sm-line);
  color: var(--sm-muted);
  font-size: 0.82rem;
  margin: 2rem 0 0;
  padding: 1rem 1.1rem;
}

.sm-office365-2y__sources h2 {
  font-size: 1rem;
  letter-spacing: 0;
  margin-bottom: 0.5rem;
}

.sm-office365-2y__sources ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.2rem;
  margin-bottom: 0.5rem;
  padding-left: 1.15rem;
}

.sm-office365-2y__sources p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .sm-office365-2y__fact-strip,
  .sm-office365-2y__card-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm-office365-2y__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .sm-office365-2y {
    font-size: 15.5px;
  }

  .sm-office365-2y__hero,
  .sm-office365-2y__section--tint,
  .sm-office365-2y__section--dark,
  .sm-office365-2y__cta {
    border-radius: 16px;
  }

  .sm-office365-2y__fact-strip,
  .sm-office365-2y__card-grid--three,
  .sm-office365-2y__decision-grid,
  .sm-office365-2y__requirements,
  .sm-office365-2y__steps,
  .sm-office365-2y__faq-grid,
  .sm-office365-2y__spec-grid {
    grid-template-columns: 1fr;
  }

  .sm-office365-2y__spec-grid div,
  .sm-office365-2y__spec-grid div:nth-child(odd),
  .sm-office365-2y__spec-grid div:nth-child(even) {
    border-left: 0;
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 0.85rem 0;
  }

  .sm-office365-2y__actions,
  .sm-office365-2y__policy-links,
  .sm-office365-2y__cta {
    align-items: stretch;
    flex-direction: column;
  }

  .sm-office365-2y__button {
    width: 100%;
  }

  .sm-office365-2y__sources ul {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sm-office365-2y *,
  .sm-office365-2y *::before,
  .sm-office365-2y *::after {
    scroll-behavior: auto !important;
  }
}

@media print {
  .sm-office365-2y__actions,
  .sm-office365-2y__cta .sm-office365-2y__button {
    display: none;
  }

  .sm-office365-2y__hero,
  .sm-office365-2y__section--dark,
  .sm-office365-2y__cta {
    background: #fff;
    box-shadow: none;
    color: #000;
  }
}

