:root {
  --obs-bg: #f5f3f0;
  --obs-panel: #fff;
  --obs-panel-soft: #f0eeeb;
  --obs-text: #28272d;
  --obs-muted: #6d6b73;
  --obs-line: #dedbd7;
  --obs-primary: #ff3e46;
  --obs-primary-dark: #c81f2b;
  --obs-primary-soft: #ffe5e6;
  --obs-mint: #00bfa2;
  --obs-mint-soft: #dcf8f2;
  --obs-sidebar: #292837;
  --obs-sidebar-soft: #393849;
  --obs-warning: #a86300;
  --obs-warning-soft: #fff1d7;
  --obs-focus: rgba(255, 62, 70, 0.28);
  --obs-shadow: 0 22px 54px rgba(37, 35, 43, 0.13);
  --sidebar-width: 264px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--obs-text);
  background: var(--obs-bg);
  font-family: "LINE Seed JP", "Yu Gothic UI", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

body.is-menu-open {
  overflow: hidden;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.32;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 700;
}

code {
  font-family: "Cascadia Mono", Consolas, monospace;
}

.material-symbols-rounded {
  display: inline-block;
  width: 1em;
  overflow: hidden;
  direction: ltr;
  font-family: "Material Symbols Rounded";
  font-feature-settings: "liga";
  font-size: 21px;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  white-space: nowrap;
}

html.js:not(.page-ready) .guide-sidebar > *,
html.js:not(.page-ready) .mobile-menu-button {
  visibility: hidden;
  opacity: 0;
}

html.js.page-ready .guide-sidebar > *,
html.js.page-ready .mobile-menu-button {
  transition: opacity 100ms ease;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  border-radius: 8px;
  padding: 9px 14px;
  background: #fff;
  color: var(--obs-primary-dark);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--obs-shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.guide-sidebar {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  display: flex;
  width: var(--sidebar-width);
  flex-direction: column;
  overflow-y: auto;
  padding: 24px 16px 18px;
  background: var(--obs-sidebar);
  color: #fff;
}

.guide-brand {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 0 7px;
  color: #fff;
  text-decoration: none;
}

.guide-brand img {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.26);
}

.guide-brand > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.12;
}

.guide-brand small {
  margin-bottom: 4px;
  color: #ff8c91;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.guide-brand strong {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.guide-brand em {
  color: #dedde8;
  font-size: 17px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.guide-nav {
  display: grid;
  gap: 5px;
}

.guide-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 8px 10px;
  color: #dedde6;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: 160ms ease;
}

.guide-nav a:hover,
.guide-nav a:focus-visible,
.guide-nav a.is-active {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  outline: none;
}

.guide-nav a.is-active .material-symbols-rounded {
  color: #ff6970;
  font-variation-settings: "FILL" 1;
}

.guide-nav .material-symbols-rounded {
  flex: 0 0 auto;
  color: #aaa9b8;
}

.sidebar-note {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.06);
}

.sidebar-note > .material-symbols-rounded {
  color: #ff6970;
}

.sidebar-note p {
  margin: 0;
  color: #d0cfdb;
  font-size: 14px;
  line-height: 1.55;
}

.sidebar-note strong {
  color: #fff;
}

.mobile-menu-button {
  display: none;
}

.guide-main {
  margin-left: var(--sidebar-width);
}

.page-anchor {
  height: 0;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(780px, 100vh);
  grid-template-columns: minmax(360px, 0.9fr) minmax(440px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 6vw, 92px);
  overflow: hidden;
  padding: clamp(80px, 8vw, 122px) clamp(42px, 7vw, 110px);
  background: #ece9e5;
}

.hero::before {
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: var(--obs-primary);
  content: "";
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--obs-primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  width: max-content;
  max-width: 100%;
  margin-bottom: 26px;
  font-size: clamp(48px, 5.4vw, 82px);
  letter-spacing: -0.06em;
  line-height: 1.08;
  white-space: nowrap;
}

.hero h1 span {
  color: var(--obs-primary);
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--obs-muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border-radius: 9px;
  padding: 11px 22px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button:focus-visible,
.text-link:focus-visible {
  outline: 3px solid var(--obs-focus);
  outline-offset: 3px;
}

.button-primary {
  background: var(--obs-primary);
  color: #fff;
  box-shadow: 0 12px 26px rgba(200, 31, 43, 0.22);
}

.button-primary:hover {
  background: var(--obs-primary-dark);
  box-shadow: 0 16px 34px rgba(200, 31, 43, 0.28);
}

.hero-reassurance {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--obs-muted);
  font-size: 14px;
  font-weight: 700;
}

.hero-reassurance .material-symbols-rounded {
  color: var(--obs-primary);
}

.hero-visual {
  transform: rotate(-2.2deg);
}

.app-window {
  width: min(100%, 650px);
  margin: 0 auto;
  overflow: hidden;
  border: 10px solid #343341;
  border-radius: 17px;
  background: #fff;
  box-shadow: 24px 30px 0 rgba(41, 40, 55, 0.12), var(--obs-shadow);
}

.app-titlebar {
  display: flex;
  min-height: 49px;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px 7px 12px;
  background: var(--obs-sidebar-soft);
  color: #fff;
}

.app-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}

.app-name img {
  border-radius: 6px;
}

.window-actions {
  display: flex;
  gap: 12px;
  color: #e8e7ec;
}

.window-actions .material-symbols-rounded {
  width: auto;
  font-size: 17px;
}

.app-content {
  padding: clamp(18px, 2.4vw, 30px);
}

.backup-now {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: #353535;
  color: #fff;
  font-size: clamp(23px, 3vw, 35px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.backup-now .material-symbols-rounded {
  width: auto;
  font-size: 38px;
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(160px, 0.85fr) minmax(220px, 1.15fr);
  gap: 18px;
}

.backup-list {
  display: grid;
  border-block: 3px solid #d2d0d0;
}

.backup-list span {
  display: flex;
  min-height: 48px;
  align-items: center;
  border: 1px solid #e4e2e2;
  padding: 8px 14px;
  color: #747278;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 13px;
}

.backup-list .is-selected {
  border-color: #3a3a3a;
  background: #3a3a3a;
  color: #fff;
}

.app-buttons {
  display: grid;
  gap: 13px;
}

.app-buttons > span {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.app-buttons i {
  width: auto;
  font-size: 18px;
}

.restore-button {
  background: #66dcc4;
  color: #fff;
}

.delete-button {
  background: #dedddd;
  color: #7b797c;
}

.hero-badge {
  position: absolute;
  right: -22px;
  bottom: -34px;
  display: grid;
  width: 130px;
  height: 130px;
  place-content: center;
  transform: rotate(8deg);
  border: 8px solid #fff;
  border-radius: 50%;
  background: var(--obs-primary);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  box-shadow: 0 15px 30px rgba(40, 39, 45, 0.22);
}

.hero-badge strong {
  font-size: 31px;
  letter-spacing: -0.04em;
}

.section-brand-label {
  position: absolute;
  right: 2vw;
  bottom: -0.26em;
  margin: 0;
  color: rgba(40, 39, 45, 0.055);
  font-size: clamp(64px, 10vw, 154px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  white-space: nowrap;
}

.guide-section {
  padding: clamp(76px, 9vw, 128px) clamp(34px, 8vw, 116px);
  scroll-margin-top: 20px;
}

.guide-section:nth-of-type(odd) {
  background: #fff;
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.section-heading > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--obs-muted);
  font-size: 18px;
}

.protection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.protection-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--obs-line);
  border-radius: 14px;
  padding: 28px;
  background: var(--obs-panel);
  box-shadow: 0 10px 28px rgba(40, 39, 45, 0.05);
}

.protection-grid article::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44px;
  height: 5px;
  background: var(--obs-primary);
  content: "";
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 12px;
  background: var(--obs-primary-soft);
  color: var(--obs-primary-dark);
}

.feature-icon .material-symbols-rounded {
  width: auto;
  font-size: 29px;
}

.protection-grid h3 {
  font-size: 23px;
}

.protection-grid article > p:last-child {
  color: var(--obs-muted);
}

.plain-message {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  max-width: 980px;
  margin-top: 34px;
  border-left: 5px solid var(--obs-sidebar);
  padding: 21px 24px;
  background: #ebe9e6;
}

.plain-message > .material-symbols-rounded {
  width: auto;
  color: var(--obs-primary);
  font-size: 30px;
}

.plain-message p {
  margin: 0;
  color: var(--obs-muted);
}

.plain-message strong {
  color: var(--obs-text);
}

.step-list {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 54px 60px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  border: 1px solid var(--obs-line);
  border-radius: 12px;
  padding: 22px 26px 22px 0;
  background: #fff;
}

.step-number {
  display: grid;
  align-self: stretch;
  place-items: center;
  border-right: 1px solid var(--obs-line);
  color: var(--obs-primary);
  font-size: 25px;
  font-weight: 700;
}

.step-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--obs-primary-soft);
  color: var(--obs-primary-dark);
}

.step-icon .material-symbols-rounded {
  width: auto;
  font-size: 29px;
}

.step-list h3 {
  margin-bottom: 5px;
  font-size: 21px;
}

.step-list p {
  margin-bottom: 8px;
  color: var(--obs-muted);
}

.step-detail {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--obs-panel-soft);
  color: #5d5b62;
  font-size: 13px;
  font-weight: 600;
}

.screen-guide {
  display: grid;
  max-width: 1040px;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  align-items: center;
  gap: 38px;
  margin-bottom: 34px;
  border-radius: 18px;
  padding: clamp(28px, 4vw, 50px);
  background: var(--obs-sidebar);
  color: #fff;
}

.screen-guide-window {
  position: relative;
  overflow: visible;
  transform: rotate(-1.5deg);
  border: 7px solid #454454;
  border-radius: 11px;
  background: #fff;
  box-shadow: 18px 20px 0 rgba(0, 0, 0, 0.16);
}

.mini-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: #3a394a;
  color: #fff;
  font-size: 12px;
}

.mini-titlebar img {
  border-radius: 5px;
}

.mini-titlebar span {
  margin-left: auto;
  color: #e9e8ed;
}

.mini-content {
  padding: 20px;
}

.mini-backup {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  border-radius: 9px;
  background: #363636;
  color: #fff;
  font-size: clamp(18px, 2.3vw, 28px);
  font-weight: 700;
}

.mini-backup .material-symbols-rounded {
  width: auto;
  font-size: 31px;
}

.mini-lower {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 14px;
}

.mini-lower > div {
  display: grid;
  border-block: 2px solid #d3d3d3;
}

.mini-lower > div span {
  border: 1px solid #e2e2e2;
  padding: 8px;
  color: #777;
  font-family: Consolas, monospace;
  font-size: 10px;
}

.mini-lower strong {
  display: grid;
  place-items: center;
  border-radius: 7px;
  padding: 10px;
  background: #65dbc2;
  color: #fff;
  font-size: 10px;
  line-height: 1.35;
  text-align: center;
}

.screen-marker {
  position: absolute;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--obs-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.marker-one {
  top: 48px;
  right: -19px;
}

.marker-two {
  bottom: -18px;
  left: 23%;
}

.screen-guide-caption {
  display: grid;
  gap: 20px;
}

.screen-guide-caption p {
  display: grid;
  grid-template-columns: 34px 1fr;
  margin: 0;
  color: #c9c8d3;
  font-size: 14px;
  line-height: 1.6;
}

.screen-guide-caption p > span {
  grid-row: 1 / 3;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: var(--obs-primary);
  color: #fff;
  font-weight: 700;
}

.screen-guide-caption strong {
  color: #fff;
  font-size: 17px;
}

.callout {
  display: grid;
  max-width: 980px;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  border-radius: 12px;
  padding: 22px 24px;
}

.callout > .material-symbols-rounded {
  width: auto;
  font-size: 31px;
}

.callout h3 {
  margin-bottom: 4px;
}

.callout p {
  color: var(--obs-muted);
}

.callout-capacity {
  border: 1px solid #eed4a7;
  background: var(--obs-warning-soft);
}

.callout-capacity > .material-symbols-rounded {
  color: var(--obs-warning);
}

.restore-section {
  background: #fff;
}

.restore-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
}

.restore-flow article {
  position: relative;
  min-height: 230px;
  border: 1px solid var(--obs-line);
  border-top: 5px solid var(--obs-mint);
  padding: 30px 22px 22px;
  background: #fff;
}

.restore-flow article > .material-symbols-rounded {
  width: auto;
  margin-bottom: 26px;
  color: var(--obs-mint);
  font-size: 38px;
}

.flow-number {
  position: absolute;
  top: 9px;
  right: 13px;
  color: #bbb8b4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.restore-flow h3 {
  font-size: 18px;
}

.restore-flow p {
  color: var(--obs-muted);
  font-size: 14px;
  line-height: 1.7;
}

.flow-arrow {
  width: auto;
  color: #aaa7a3;
}

.restore-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: 34px;
  max-width: 1040px;
  margin-bottom: 28px;
  border-radius: 15px;
  padding: 34px;
  background: var(--obs-sidebar);
  color: #fff;
}

.restore-panel .eyebrow {
  color: #68dec8;
}

.restore-panel h3 {
  font-size: 27px;
}

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

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #e6e5eb;
}

.check-list .material-symbols-rounded {
  flex: 0 0 auto;
  width: auto;
  margin-top: 4px;
  color: #68dec8;
}

.callout-danger {
  border: 1px solid #ffc6c9;
  background: var(--obs-primary-soft);
}

.callout-danger > .material-symbols-rounded {
  color: var(--obs-primary-dark);
}

.manage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.manage-grid article {
  min-height: 240px;
  border: 1px solid var(--obs-line);
  border-radius: 13px;
  padding: 28px;
  background: #fff;
}

.manage-grid article > .material-symbols-rounded {
  width: auto;
  margin-bottom: 32px;
  color: var(--obs-primary);
  font-size: 37px;
}

.manage-grid h3 {
  font-size: 21px;
}

.manage-grid p {
  color: var(--obs-muted);
}

.filename-card {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(340px, 1.2fr);
  align-items: center;
  gap: 34px;
  max-width: 1040px;
  border-radius: 14px;
  padding: 28px 32px;
  background: #e7e4e0;
}

.filename-card h3 {
  font-size: 22px;
}

.filename-card p:last-child {
  color: var(--obs-muted);
}

.filename-card code {
  overflow-x: auto;
  border-left: 5px solid var(--obs-primary);
  padding: 18px 20px;
  background: var(--obs-sidebar);
  color: #fff;
  font-size: clamp(14px, 1.5vw, 18px);
  white-space: nowrap;
}

.notes-section {
  background: var(--obs-sidebar) !important;
  color: #fff;
}

.notes-section .eyebrow {
  color: #ff787e;
}

.notes-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 1040px;
  overflow: hidden;
  border: 1px solid #494858;
  background: #494858;
}

.notes-list article {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 16px;
  min-height: 180px;
  padding: 28px;
  background: var(--obs-sidebar);
}

.note-number {
  color: #ff787e;
  font-size: 14px;
  font-weight: 700;
}

.notes-list p {
  color: #c9c8d3;
}

.unofficial-note {
  display: flex;
  max-width: 1040px;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  border: 1px solid #4d4c5b;
  border-radius: 12px;
  padding: 19px 22px;
  background: #333241;
}

.unofficial-note img {
  flex: 0 0 auto;
  border-radius: 14px;
}

.unofficial-note p {
  color: #c9c8d3;
}

.unofficial-note strong {
  color: #fff;
}

.faq-list {
  display: grid;
  max-width: 980px;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--obs-line);
  background: #fff;
}

.faq-list summary {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 13px;
  min-height: 68px;
  padding: 17px 20px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary > .material-symbols-rounded:first-child {
  width: auto;
  color: var(--obs-primary);
}

.faq-arrow {
  width: auto;
  color: var(--obs-muted);
  transition: transform 160ms ease;
}

details[open] .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 13px;
  border-top: 1px solid var(--obs-line);
  padding: 20px;
  background: #f2f0ed;
}

.faq-answer > .material-symbols-rounded {
  width: auto;
  color: var(--obs-mint);
}

.faq-answer p {
  color: var(--obs-muted);
}

.purchase-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
  padding: clamp(72px, 9vw, 126px) clamp(34px, 8vw, 116px);
  background: #e9e6e2;
}

.purchase-cover {
  position: relative;
  isolation: isolate;
  max-width: 430px;
}

.purchase-cover::after {
  position: absolute;
  z-index: -1;
  inset: 22px -22px -22px 22px;
  background: var(--obs-sidebar);
  content: "";
}

.purchase-cover img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 8px solid #fff;
  box-shadow: var(--obs-shadow);
}

.purchase-copy {
  max-width: 650px;
}

.purchase-copy > p:not(.eyebrow) {
  color: var(--obs-muted);
  font-size: 18px;
}

.purchase-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 28px 0;
}

.purchase-meta strong {
  color: var(--obs-primary-dark);
  font-size: 30px;
}

.purchase-meta span {
  border-radius: 999px;
  padding: 5px 11px;
  background: #fff;
  color: var(--obs-muted);
  font-size: 13px;
  font-weight: 700;
}

.purchase-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.text-link {
  color: var(--obs-primary-dark);
  font-weight: 700;
  text-underline-offset: 4px;
}

.guide-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 150px;
  padding: 34px clamp(34px, 8vw, 116px);
  background: #22212d;
  color: #fff;
}

.guide-footer > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-footer img {
  border-radius: 10px;
}

.guide-footer p {
  margin: 0;
  line-height: 1.4;
}

.guide-footer p span {
  color: #aaa9b6;
  font-size: 12px;
}

.guide-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.guide-footer nav a {
  color: #d6d5de;
  font-size: 14px;
  text-underline-offset: 4px;
}

.back-to-top {
  position: fixed;
  z-index: 15;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  transform: translateY(18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: var(--obs-sidebar);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
}

.back-to-top.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.back-to-top.is-docked {
  position: absolute;
  top: 34px;
  bottom: auto;
}

.back-to-top:hover {
  background: var(--obs-primary);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--obs-focus);
  outline-offset: 3px;
}

.back-to-top .material-symbols-rounded {
  width: auto;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(320px, 0.85fr) minmax(390px, 1.15fr);
    gap: 40px;
    padding-inline: 52px;
  }

  .hero h1 {
    font-size: clamp(44px, 5vw, 66px);
  }

  .guide-section,
  .purchase-section {
    padding-inline: 54px;
  }

  .restore-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .flow-arrow {
    display: none;
  }

  .restore-flow article {
    min-height: 190px;
  }
}

@media (max-width: 900px) {
  :root {
    --sidebar-width: 0px;
  }

  html {
    scroll-padding-top: 80px;
  }

  .guide-sidebar {
    width: min(320px, calc(100vw - 46px));
    transform: translateX(-105%);
    padding-top: 76px;
    box-shadow: 18px 0 38px rgba(0, 0, 0, 0.28);
    transition: transform 200ms ease;
  }

  body.is-menu-open .guide-sidebar {
    transform: translateX(0);
  }

  body.is-menu-open::after {
    position: fixed;
    z-index: 19;
    inset: 0;
    background: rgba(20, 19, 25, 0.5);
    content: "";
  }

  .mobile-menu-button {
    position: fixed;
    z-index: 30;
    top: 14px;
    left: 14px;
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 7px 15px;
    background: var(--obs-sidebar);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 9px 22px rgba(0, 0, 0, 0.2);
  }

  .guide-main {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 64px;
    padding: 110px 54px 90px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(51px, 9vw, 75px);
  }

  .hero-visual {
    max-width: 690px;
  }

  .protection-grid,
  .manage-grid {
    grid-template-columns: 1fr;
  }

  .protection-grid article,
  .manage-grid article {
    min-height: auto;
  }

  .screen-guide {
    grid-template-columns: 1fr;
  }

  .screen-guide-caption {
    grid-template-columns: repeat(2, 1fr);
  }

  .purchase-section {
    grid-template-columns: minmax(230px, 0.7fr) minmax(360px, 1.3fr);
    gap: 48px;
  }
}

@media (max-width: 760px) {
  .guide-section,
  .purchase-section {
    padding: 72px 30px;
  }

  .step-list li {
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    padding: 20px;
  }

  .step-number {
    grid-row: 1 / 3;
    align-self: stretch;
    border-right: 1px solid var(--obs-line);
  }

  .step-icon {
    display: none;
  }

  .restore-panel,
  .filename-card {
    grid-template-columns: 1fr;
  }

  .notes-list {
    grid-template-columns: 1fr;
  }

  .purchase-section {
    grid-template-columns: 1fr;
  }

  .purchase-cover {
    width: min(78vw, 390px);
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  h2 {
    font-size: clamp(28px, 8.5vw, 38px);
  }

  .hero {
    gap: 48px;
    padding: 98px 22px 72px;
  }

  .hero h1 {
    margin-bottom: 22px;
    font-size: clamp(41px, 13vw, 61px);
    white-space: normal;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-window {
    border-width: 6px;
    border-radius: 12px;
    box-shadow: 12px 16px 0 rgba(41, 40, 55, 0.12), var(--obs-shadow);
  }

  .app-titlebar {
    min-height: 41px;
  }

  .app-name {
    font-size: 11px;
  }

  .app-name img {
    width: 22px;
    height: 22px;
  }

  .window-actions {
    gap: 6px;
  }

  .window-actions .material-symbols-rounded {
    font-size: 13px;
  }

  .app-content {
    padding: 14px;
  }

  .backup-now {
    min-height: 77px;
    margin-bottom: 13px;
    font-size: 20px;
  }

  .backup-now .material-symbols-rounded {
    font-size: 28px;
  }

  .app-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 10px;
  }

  .backup-list span {
    min-height: 36px;
    padding: 5px 7px;
    font-size: 8px;
  }

  .app-buttons {
    gap: 8px;
  }

  .app-buttons > span {
    min-height: 54px;
    font-size: 8px;
  }

  .hero-badge {
    right: -9px;
    bottom: -30px;
    width: 92px;
    height: 92px;
    border-width: 5px;
    font-size: 12px;
  }

  .hero-badge strong {
    font-size: 22px;
  }

  .section-brand-label {
    display: none;
  }

  .guide-section,
  .purchase-section {
    padding: 66px 20px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading > p:not(.eyebrow),
  .purchase-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .protection-grid article,
  .manage-grid article {
    padding: 24px;
  }

  .plain-message,
  .callout {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }

  .plain-message > .material-symbols-rounded,
  .callout > .material-symbols-rounded {
    font-size: 25px;
  }

  .step-list li {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 17px;
  }

  .step-number {
    font-size: 21px;
  }

  .step-detail {
    border-radius: 7px;
  }

  .screen-guide {
    gap: 34px;
    padding: 25px 18px;
  }

  .mini-content {
    padding: 12px;
  }

  .mini-titlebar {
    font-size: 9px;
  }

  .mini-titlebar img {
    width: 20px;
    height: 20px;
  }

  .mini-backup {
    min-height: 62px;
    font-size: 16px;
  }

  .screen-guide-caption {
    grid-template-columns: 1fr;
  }

  .restore-flow {
    grid-template-columns: 1fr;
  }

  .restore-flow article {
    min-height: auto;
  }

  .restore-panel {
    gap: 20px;
    padding: 24px;
  }

  .filename-card {
    gap: 20px;
    padding: 23px;
  }

  .filename-card code {
    margin-inline: -10px;
    font-size: 12px;
  }

  .notes-list article {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: auto;
    padding: 23px 18px;
  }

  .unofficial-note {
    align-items: flex-start;
  }

  .unofficial-note img {
    width: 48px;
    height: 48px;
  }

  .faq-list summary {
    grid-template-columns: 24px minmax(0, 1fr) 20px;
    gap: 9px;
    padding: 16px 14px;
  }

  .faq-answer {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 9px;
    padding: 17px 14px;
  }

  .purchase-cover::after {
    inset: 13px -13px -13px 13px;
  }

  .purchase-cover img {
    border-width: 5px;
  }

  .purchase-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-footer {
    min-height: 210px;
    align-items: flex-start;
    flex-direction: column;
    padding: 34px 20px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
  }

  .back-to-top.is-docked {
    top: 34px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
