:root {
  color-scheme: light;
  --paper: var(--restorada-paper);
  --ink: var(--restorada-ink);
  --red: var(--restorada-tomato);
  --muted: var(--restorada-muted-text);
  --line: var(--restorada-border);
  --soft: var(--restorada-booking-surface);
  --red-hover: #9E3021;
  --on-accent: var(--restorada-white);
  --link: #983120;
  --header-surface: rgb(255 252 245 / .65);
  --switch-track: rgb(87 57 30 / .10);
  --switch-thumb: #FFFCF5;
  --page-glow: rgb(248 155 115 / .38);
  --section-glow: rgb(238 174 106 / .33);
  --device-shadow: rgb(75 39 21 / .23);
}
[data-theme="dark"] {
  color-scheme: dark;
  --paper: #101828;
  --ink: #FAEDDA;
  --red: #E3B77C;
  --muted: #CEC8C0;
  --line: #475775;
  --soft: #293A50;
  --red-hover: #EDC996;
  --on-accent: #101828;
  --link: var(--red);
  --header-surface: rgb(15 23 43 / .80);
  --switch-track: #1C2944;
  --switch-thumb: #304365;
  --page-glow: rgb(176 116 62 / .29);
  --section-glow: rgb(62 81 122 / .43);
  --device-shadow: rgb(4 8 19 / .70);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(ellipse min(62vw, 890px) 620px at 85% 335px, var(--page-glow), transparent), var(--paper);
  color: var(--ink);
  font: 400 1rem/1.53 var(--restorada-font);
}
button, a { color: inherit; }
button { font: inherit; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 750; line-height: 1.01; letter-spacing: -.052em; }
a:focus-visible, button:focus-visible, .site-theme input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 4px; }
.frame { width: min(100% - 96px, 1280px); margin-inline: auto; }
.visually-hidden, .site-theme input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; z-index: 4; left: 12px; top: 8px; padding: 8px 12px; background: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: none; }
.header { min-height: 77px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(14px, 2.4vw, 36px); }
.brand { display: inline-flex; align-items: center; padding-block: 4px; width: fit-content; }
.brand img { width: 157px; height: auto; }
[data-theme="dark"] .brand img { filter: brightness(0) invert(1); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-self: center; gap: 7px clamp(15px, 3vw, 36px); }
.site-nav a, .header-cta { padding-block: 9px; font-size: .9375rem; font-weight: 680; }
.site-nav a:hover, .site-nav a[aria-current="page"], .header-cta:hover { color: var(--link); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; }
.header-cta { color: var(--link); white-space: nowrap; }
.header-tools { display: flex; align-items: center; gap: 14px; justify-self: end; }
.site-theme {
  display: flex;
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 3px;
  border-radius: 999px;
  background: var(--switch-track);
}
.site-theme[hidden] { display: none; }
.site-theme span {
  display: grid;
  min-height: 36px;
  min-width: 50px;
  padding-inline: 8px;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 680;
  cursor: pointer;
}
.site-theme label:hover span { color: var(--ink); }
.site-theme input:checked + span { background: var(--switch-thumb); color: var(--ink); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  column-gap: clamp(27px, 4vw, 66px);
  align-items: center;
  padding-block: 50px 57px;
}
.hero-copy { min-width: 0; }
.eyebrow { color: var(--link); font-size: .9375rem; font-weight: 730; }
.hero h1 {
  margin-top: 15px;
  max-width: 620px;
  font-size: clamp(3rem, 5.2vw, 4.875rem);
  line-height: .96;
  letter-spacing: -.072em;
}
.hero-lead { max-width: 480px; margin-top: 24px; font-size: clamp(1.125rem, 1.62vw, 1.375rem); line-height: 1.44; }
.hero-actions, .scenario-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero-actions { margin-top: 27px; }
.button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 9px 16px;
  font-size: .9375rem;
  font-weight: 730;
  line-height: 1.22;
  cursor: pointer;
}
.button-primary { color: var(--on-accent); background: var(--red); }
.button-primary:not(:disabled):hover { background: var(--red-hover); }
.button-outline { background: transparent; border-color: var(--line); color: var(--ink); }
[data-theme="dark"] .button-outline { background: #1B2940; }
.button-outline:not(:disabled):hover { background: var(--soft); }
.button:disabled { cursor: default; opacity: .53; }
.device-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
  align-items: start;
  gap: clamp(11px, 2.45vw, 43px);
  padding: clamp(16px, 3.4vw, 45px);
}
.device-stage .phone-image { max-width: 267px; width: 100%; }
.phone-image { height: auto; aspect-ratio: 888 / 1832; }
.device-stage .phone-image, .scenario-visual .phone-image, .feature-figure .phone-image {
  filter: drop-shadow(0 16px 21px var(--device-shadow));
}
.device-stage.device-stage-single { grid-template-columns: minmax(0, 1fr); padding: clamp(12px, 2.4vw, 29px); }
.crm-image { width: 100%; height: auto; aspect-ratio: 1920 / 1240; border-radius: 12px; }
.crm-enlarge { display: block; width: 100%; }
.scenario-band, .detail-band {
  background: radial-gradient(ellipse 66% 64% at 33% 48%, var(--section-glow), transparent);
  scroll-margin-top: 10px;
}
.scenario { padding-block: 57px 49px; }
.section-header h2, .links-block h2, .detail-copy h2 { font-size: clamp(2.375rem, 4.5vw, 3.75rem); }
.section-header p, .detail-copy p { margin-top: 12px; font-size: 1.125rem; }
.scenario-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 23px;
}
.scenario-tabs button {
  min-height: 42px; padding: 6px 13px;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
  border-radius: 100px; font-size: .9375rem; font-weight: 680; cursor: pointer;
}
.scenario-tabs button:hover { border-color: var(--red); }
.scenario-tabs button[aria-selected="true"] { border-color: var(--red); color: var(--on-accent); background: var(--red); }
.scenario-panel {
  margin-top: 17px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(22px, 4.2vw, 64px);
  align-items: center;
  padding: clamp(18px, 3.5vw, 46px);
}
.scenario-visual { display: grid; place-items: center; min-width: 0; padding: 19px; }
.phone-enlarge { display: block; width: min(100%, 300px); border-radius: 28px; }
.scenario-visual .phone-enlarge { width: min(100%, 296px); }
.scenario-panel-desktop { grid-template-columns: minmax(0, 1.65fr) minmax(0, .8fr); gap: clamp(18px, 3.2vw, 44px); }
.scenario-panel-desktop .scenario-visual { padding: clamp(10px, 1.55vw, 20px); }
.scenario-panel-mixed .phone-enlarge { width: min(100%, 268px); }
.scenario-tabs button { scroll-margin-top: 20px; }
.scenario-copy h3 { font-size: clamp(2rem, 4.2vw, 3.375rem); }
.scenario-copy p { margin-top: 12px; font-size: 1.125rem; max-width: 390px; }
.scenario-actions { margin-top: 21px; }
.scenario-actions [hidden] { display: none; }
.image-link { display: inline-block; color: var(--link); margin-top: 15px; font-size: .9375rem; font-weight: 690; text-decoration: underline; text-underline-offset: 3px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .7fr); gap: 34px; align-items: center; padding-block: 47px; }
.detail-copy p { max-width: 550px; }
.feature-figure { display: grid; justify-items: center; align-items: start; gap: 9px; margin: 0; text-align: center; }
.feature-figure figcaption { color: var(--muted); font-size: .9375rem; }
.links-block { padding-block: 49px 46px; }
.links-block h2 { font-size: clamp(2.25rem, 4vw, 3.125rem); }
.section-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 12px; margin-top: 19px; }
.section-links a { display: block; border: 1px solid var(--line); border-radius: 15px; padding: 15px 17px; }
.section-links a:hover { border-color: var(--red); background: var(--soft); }
.section-links strong { display: block; font-size: 1.125rem; font-weight: 750; }
.section-links span { display: block; color: var(--muted); font-size: .9375rem; margin-top: 3px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 19px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.footer-brand img { width: 128px; }
.gusto-page .hero {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 58px);
  padding-block: clamp(40px, 5vw, 76px);
}
.gusto-page .hero h1 {
  font-size: clamp(2.75rem, 4.65vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.061em;
}
.gusto-page .hero h1 span { display: block; }
.gusto-page .hero-lead { max-width: 29rem; color: var(--muted); text-wrap: pretty; }
.gusto-page .device-stage {
  align-items: center;
  gap: clamp(10px, 2.3vw, 32px);
  padding: clamp(16px, 3.2vw, 45px);
}
.gusto-page .device-stage .phone-image {
  max-width: 250px;
}
.gusto-page .section-header p { color: var(--muted); max-width: 38rem; }
.gusto-page .scenario-panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.gusto-page .scenario-visual { padding-block: clamp(17px, 3vw, 32px); }
.gusto-page .scenario-visual .phone-enlarge { max-width: 255px; }
.gusto-page .scenario-copy p { color: var(--muted); }
@media (max-width: 1100px) {
  .frame { width: calc(100% - 58px); }
  .hero { column-gap: 22px; }
  .hero h1 { font-size: clamp(2.9rem, 5.4vw, 4.5rem); }
  .device-stage { padding: clamp(14px, 3vw, 32px); }
}
@media (max-width: 810px) {
  .header-cta { display: none; }
  .header { grid-template-columns: auto 1fr; gap: 15px; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; justify-self: start; }
  .hero { padding-block: 34px 39px; }
  .desktop-break { display: none; }
  .hero-lead { font-size: 1.0625rem; margin-top: 16px; }
  .hero-actions { margin-top: 17px; }
}
@media (max-width: 690px) {
  .frame { width: calc(100% - 32px); }
  .header { grid-template-columns: minmax(0, 1fr) auto; gap: 3px; padding-block: 10px 6px; min-height: 0; }
  .brand img { width: 144px; }
  .site-theme span { min-height: 38px; }
  .site-nav { width: 100%; gap: 0 clamp(10px, 3vw, 20px); }
  .site-nav a { font-size: .875rem; padding-block: 7px; }
  .site-nav a[aria-current="page"] { text-underline-offset: 4px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 25px 31px; }
  .hero h1 { max-width: 520px; font-size: clamp(2.625rem, 9.6vw, 3.725rem); margin-top: 9px; }
  .hero-lead { max-width: 520px; margin-top: 13px; }
  .device-stage { gap: clamp(9px, 4vw, 22px); }
  .device-stage .phone-image { max-width: 217px; }
  .section-header p, .detail-copy p { font-size: 1.0625rem; }
  .scenario { padding-block: 32px; }
  .scenario-panel { grid-template-columns: minmax(0, 1fr); gap: 17px; padding: 13px; }
  .scenario-visual { padding: 11px; }
  .scenario-visual .phone-enlarge { width: min(100%, 273px); }
  .scenario-copy { grid-row: 1; }
  .scenario-copy p { font-size: 1rem; margin-top: 7px; }
  .scenario-actions { margin-top: 13px; }
  .scenario-tabs { gap: 5px; margin-top: 14px; }
  .scenario-tabs button { font-size: .875rem; padding-inline: 10px; min-height: 40px; }
  .image-link { margin-top: 9px; font-size: .875rem; }
  .detail-layout { grid-template-columns: minmax(0, 1fr); gap: 19px; padding-block: 29px; }
  .feature-figure .phone-enlarge { width: min(100%, 275px); }
  .links-block { padding-block: 30px 28px; }
  .section-links { grid-template-columns: minmax(0, 1fr); gap: 7px; margin-top: 13px; }
  .footer { flex-wrap: wrap; gap: 5px; padding-block: 13px; }
  .footer-brand img { width: 117px; }
  .gusto-page .hero { grid-template-columns: minmax(0, 1fr); gap: 25px; padding-block: 32px; }
  .gusto-page .hero h1 { font-size: clamp(2.25rem, 8.6vw, 3.5rem); }
  .gusto-page .device-stage { padding: clamp(14px, 4vw, 26px); }
  .gusto-page .device-stage .phone-image { max-width: 186px; }
  .gusto-page .scenario-panel { grid-template-columns: minmax(0, 1fr); }
}
