@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20A0-20CF, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --canvas: #fbfcff;
  --ink: #1b203a;
  --muted: #505774;
  --accent: #3849b5;
  --accent-hover: #29378d;
  --violet: #5e42b5;
  --violet-hover: #4b3297;
  --line: #dee2f0;
  --paper: #ffffff;
  --radius-large: 30px;
  --page-gutter: clamp(18px, 4vw, 56px);
  --page-width: 1240px;
  --header-height: 74px;
  --motion-out: cubic-bezier(.22, 1, .36, 1);
  font: 400 16px/1.5 "Source Sans 3", "Segoe UI", Arial, sans-serif;
  scroll-padding-top: calc(var(--header-height) + 32px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.025em; font-weight: 650; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid #6747b8; outline-offset: 4px; }

.frame {
  width: min(var(--page-width), 100% - var(--page-gutter) * 2);
  margin-inline: auto;
}

.section {
  margin-block: clamp(70px, 8.6vw, 124px);
}

.section-heading {
  margin-bottom: clamp(24px, 4vw, 45px);
}

.section-heading h2 {
  font-size: clamp(31px, 4vw, 54px);
}

.section-heading p {
  margin-top: 13px;
  color: var(--muted);
  font-size: clamp(16px, 1.85vw, 20px);
}

.centered { text-align: center; }

.skip {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--accent);
  transform: translateY(-160%);
}

.skip:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e2e5f1;
  background-color: var(--canvas);
}

@supports (backdrop-filter: blur(1px)) {
  .site-header {
    background-color: #fbfcfff0;
    backdrop-filter: blur(16px) saturate(125%);
  }
}

.header-inner {
  width: min(1360px, 100% - var(--page-gutter) * 2);
  min-height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner .header-brand {
  flex: none;
  gap: 9px;
  font-size: 28px;
}

.brand {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 9px;
  font-size: 24px;
  font-weight: 710;
  line-height: 1;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.brand img { flex: 0 0 auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(17px, 1.6vw, 27px);
  margin-inline-start: clamp(24px, 2.4vw, 38px);
  color: #333d63;
  font-size: 16px;
  font-weight: 560;
  white-space: nowrap;
}

.site-nav a {
  display: grid;
  min-height: 44px;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-inline-start: auto;
  padding-inline-start: 16px;
}

.header-actions details { position: relative; }
.header-sections { display: none; }

.header-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #d9def2;
  border-radius: 12px;
  background: #f3f5ff;
  color: #34439b;
  cursor: pointer;
  list-style: none;
  transition: background-color .18s ease, border-color .18s ease, transform .18s var(--motion-out);
}

.header-icon::-webkit-details-marker { display: none; }
.header-icon::marker { content: ""; }

.header-icon:hover, .header-sections[open] > .header-icon {
  background: #e8ebfb;
  border-color: #bec6eb;
}

.account-trigger {
  border-radius: 50%;
  border-color: var(--violet);
  background: var(--violet);
  color: #fff;
}

.account-trigger:hover, .header-account[open] > .account-trigger {
  border-color: var(--violet-hover);
  background: var(--violet-hover);
}

.header-account-initial {
  font-size: 23px;
  font-weight: 650;
  line-height: 1;
}

.header-menu-symbol {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.header-menu-symbol::before, .header-menu-symbol::after {
  content: "";
  position: absolute;
  left: 1px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.header-menu-symbol::before { top: 5px; }
.header-menu-symbol::after { top: 11px; }

.header-popover {
  position: absolute;
  top: calc(100% + 13px);
  inset-inline-end: 0;
  display: grid;
  width: min(228px, 100vw - 80px);
  gap: 2px;
  padding: 6px;
  border: 1px solid #dee2f0;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 16px 30px #242d6421;
}

.header-actions details:not([open]) .header-popover { display: none; }

.header-popover a {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 560;
}

.header-popover a:hover { background: #eef0fc; }

.header-account-info {
  display: grid;
  gap: 1px;
  margin: 0 6px 3px;
  padding: 10px 5px 11px;
  border-bottom: 1px solid #e7e9f4;
  line-height: 1.25;
}

.header-account-info strong { font-weight: 660; }
.header-account-info span { font-size: 14px; color: var(--muted); }

.header-popover .header-mobile-open { display: none; }

.site-nav a, .footer-inner nav a {
  transition: color .18s ease;
}

.site-nav a:hover, .footer-inner nav a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .25em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 630;
  line-height: 1.2;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease,
    box-shadow .22s ease, transform .22s var(--motion-out);
}

.button-primary { background: var(--accent); color: #ffffff; }
.button-primary:hover { background: var(--accent-hover); }
.button-quiet { border-color: #c2c8e3; color: var(--ink); background: #ffffff; }
.button-quiet:hover { background: #eff1fb; border-color: #9ca9d6; }
.header-open {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 16px;
  white-space: nowrap;
}

.hero {
  text-align: center;
  background: linear-gradient(180deg, #fbfcff 23%, #f4f5ff 59%, #e8eafb 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-top: clamp(47px, 6vw, 84px);
}

.hero h1 {
  max-width: 1100px;
  margin-inline: auto;
  font-size: clamp(43px, 5.45vw, 78px);
  letter-spacing: -.025em;
  line-height: 1.035;
}

.hero-copy > p {
  max-width: 620px;
  margin: clamp(15px, 1.8vw, 23px) auto 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 22px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.hero .button { min-height: 52px; padding-inline: 21px; }

.hero-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 4px clamp(33px, 4vw, 64px);
  margin-top: clamp(32px, 3.7vw, 53px);
}

.desk-art {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: min(100%, 1630px);
  max-width: none;
  height: auto;
  pointer-events: none;
}

.devices {
  position: relative;
  width: min(81vw, 1114px);
  margin: 0 auto;
  padding-inline: 2px 9%;
  padding-bottom: 20px;
}

.desktop-device, .phone-device {
  overflow: hidden;
  background: #eef0fd;
  border: 1px solid #bfc6e5;
}

.desktop-device {
  padding: clamp(4px, .7vw, 10px);
  border-radius: clamp(13px, 1.7vw, 24px);
  box-shadow: 0 42px 50px -35px #34438d5b, 0 10px 18px -14px #30386b64;
}

.desktop-device img {
  width: 100%;
  height: auto;
  border-radius: clamp(9px, 1.1vw, 15px);
  border: 1px solid #cdd2eb;
}

.phone-device {
  position: absolute;
  right: 2.3%;
  bottom: 1px;
  width: 21%;
  padding: clamp(4px, .5vw, 7px);
  border-radius: clamp(14px, 2.4vw, 34px);
  background: #252949;
  border-color: #222643;
  box-shadow: 0 24px 37px -17px #23294d8a, 0 2px 8px #22284933;
}

.phone-device img {
  width: 100%;
  height: auto;
  border-radius: clamp(10px, 1.8vw, 27px);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
}

.tool-grid li {
  --tile: #eceefd;
  min-width: 0;
}

.tool-grid .tool-calendar { --tile: #edf3fd; }
.tool-grid .tool-notes { --tile: #f1ebfb; }
.tool-grid .tool-documents { --tile: #edf1fa; }
.tool-grid .tool-kanban { --tile: #edebfb; }
.tool-grid .tool-focus { --tile: #f0eafb; }

.tool-grid a {
  display: block;
  height: 100%;
  padding: 10px 16px 21px;
  border: 1px solid #2b336a10;
  border-radius: 23px;
  background: var(--tile);
  transition: border-color .2s ease, box-shadow .24s ease, transform .24s var(--motion-out);
}

.tool-grid a:hover {
  box-shadow: 0 12px 24px -21px #34438d59;
  border-color: #7381c2a0;
}

.tool-grid img {
  width: 100%;
  max-width: 172px;
  height: auto;
  margin-inline: auto;
  transition: transform .24s var(--motion-out);
}

.tool-label { font-size: clamp(18px, 1.72vw, 23px); letter-spacing: -.03em; }
.tool-grid p { margin-top: 5px; font-size: 13px; color: var(--muted); line-height: 1.35; }

.preview {
  border-radius: var(--radius-large);
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid #e2e5f2;
  background: var(--paper);
  box-shadow: 0 18px 34px -29px #2b366c5c;
}

.preview-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.preview-tabs button {
  min-height: 43px;
  padding: 9px clamp(13px, 2vw, 22px);
  font-size: 15px;
  font-weight: 580;
  line-height: 1.27;
  border: 1px solid transparent;
  background: #f0f1fa;
  border-radius: 11px;
  transition: color .18s ease, background-color .18s ease, transform .18s var(--motion-out);
}

.preview-tabs button:hover { background: #e5e9fb; }
.preview-tabs button[aria-selected="true"] { color: #ffffff; background: var(--accent); }

.preview-panel {
  --panel-wash: #e8ebfc;
  display: grid;
  grid-template-columns: minmax(0, 1.68fr) minmax(0, 1fr);
  align-items: stretch;
  min-width: 0;
  border-radius: 21px;
  overflow: hidden;
  background: var(--panel-wash);
  transition: background-color .31s ease;
}

.preview-panel[data-tone="blue"] { --panel-wash: #e8f0fc; }
.preview-panel[data-tone="lilac"] { --panel-wash: #f0eafa; }
.preview-panel[data-tone="violet"] { --panel-wash: #ebe5f8; }

.preview-art {
  align-self: stretch;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: clamp(17px, 3vw, 34px) 0 clamp(17px, 3vw, 34px) clamp(17px, 3vw, 34px);
}

.preview-frame {
  display: grid;
  width: 100%;
  overflow: hidden;
  border: 1px solid #303b7426;
  border-radius: 15px;
  box-shadow: 0 20px 29px -22px #303b7459;
  background: #f7f8fe;
}

.preview-image {
  display: block;
  grid-area: 1 / 1;
  min-width: 0;
}

.preview-image-loading { opacity: 0; }

.preview-image img { width: 100%; height: auto; aspect-ratio: 1.482; object-fit: cover; object-position: center top; }

.preview-copy {
  align-self: center;
  padding: clamp(23px, 3vw, 50px);
}

.preview-copy h3, .feature-copy h3 { font-size: clamp(26px, 3vw, 42px); }
.preview-copy p, .feature-copy p {
  margin-top: 13px;
  font-size: clamp(15px, 1.5vw, 19px);
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: baseline;
  gap: 7px;
  font-weight: 660;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: #4f5fb36b;
  text-underline-offset: .25em;
}

.text-link:hover { text-decoration-color: currentColor; }
.preview-copy .text-link, .feature-copy .text-link { margin-top: 21px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 25px);
  margin-top: clamp(16px, 2vw, 25px);
}

.feature-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-large);
  border: 1px solid #2b326a14;
  background: #ecf2fc;
}

.feature-focus { background: #f0ebfb; }
.feature-copy { flex: 1; padding: clamp(22px, 3.6vw, 49px) clamp(23px, 3.3vw, 45px) 0; }
.feature-copy h3 { font-size: clamp(26px, 2.8vw, 39px); }
.feature-copy .text-link { margin-top: 16px; }
.feature-media {
  margin: clamp(21px, 3.3vw, 39px) clamp(21px, 3.3vw, 43px) 0;
  border: 1px solid #2d367326;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  aspect-ratio: 1.65;
  background: #fcfcff;
  box-shadow: 0 5px 25px #2c367112;
}

.feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.trial {
  padding-block: clamp(45px, 6.7vw, 91px);
  background: #302d67;
  color: #fbfaff;
}

.trial-inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(31px, 7vw, 108px);
  align-items: center;
}

.trial-copy h2 {
  font-size: clamp(31px, 4.3vw, 56px);
  text-wrap: wrap;
}

.trial-copy p {
  margin-top: 17px;
  max-width: 40ch;
  font-size: clamp(16px, 1.55vw, 20px);
  color: #e6e3fc;
}

.trial-copy .text-link {
  margin-top: 22px;
  color: #f8f7ff;
  text-decoration-color: #d9d4f9a3;
}

.planner {
  align-self: start;
  min-width: 0;
  padding: clamp(15px, 3vw, 28px);
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 24px 38px -27px #17143b;
  color: var(--ink);
}

.planner-top, .day-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px 12px;
}

.planner-top h3 { font-size: clamp(19px, 2vw, 26px); }

.week-tools {
  display: flex;
  gap: 5px;
  align-items: center;
}

.week-tools button, .day-add button {
  min-height: 36px;
  border: 1px solid #d9def0;
  border-radius: 8px;
  background: #f1f3fc;
  color: #34417c;
  font-weight: 620;
  transition: background-color .18s ease, color .18s ease, transform .18s var(--motion-out);
}

.week-tools button:hover { background-color: #e5e9fb; }

.week-tools .week-back, .week-tools .week-forward {
  width: 36px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}

.week-range {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
}

.week-today { margin-left: 2px; padding: 4px 8px; font-size: 13px; }

.week-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(3px, .7vw, 8px);
  margin-block: 18px 13px;
}

.week-days button {
  min-height: 57px;
  padding: 5px 0;
  border: 1px solid #e3e6f4;
  border-radius: 9px;
  display: grid;
  place-content: center;
  background: #f7f8fe;
  line-height: 1.2;
  color: #414b77;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s var(--motion-out);
}

.week-days button:hover { background: #eceffc; }
.week-days span { font-size: 12px; }
.week-days strong { font-size: 17px; margin-top: 3px; }
.week-days button[aria-current="date"] { border-color: #8a96d3; }
.week-days button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #ffffff; }

.day-date {
  position: relative;
  flex-wrap: wrap;
  padding-bottom: 6px;
  border-bottom: 1px solid #e1e4f2;
}

.day-date::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(var(--day-completion, 0));
  transform-origin: left center;
  transition: transform .38s var(--motion-out);
}

.day-date h4 { font-size: 16px; line-height: 1.25; font-weight: 650; }
.day-progress { color: var(--muted); font-size: 13px; white-space: nowrap; }

.day-list { padding: 0; list-style: none; }

.day-list li {
  display: grid;
  align-items: center;
  grid-template-columns: 67px minmax(0, 1fr);
  gap: 11px;
  min-height: 41px;
  padding: 6px 0;
  border-bottom: 1px solid #ebedf6;
}

.day-time { font-size: 12px; color: #525c7a; font-variant-numeric: tabular-nums; }
.day-list label {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 30px;
  cursor: pointer;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.day-list input {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  accent-color: var(--accent);
}

.day-list input:checked + span { text-decoration: line-through; color: var(--muted); }
.day-empty { padding-block: 14px 6px; font-size: 14px; color: var(--muted); }

.day-add { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; margin-top: 12px; }
.day-add input {
  align-self: stretch;
  min-width: 0;
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid #cdd4ed;
  background: #fff;
  border-radius: 8px;
  color: var(--ink);
  font-size: 16px;
}

.day-add input::placeholder { color: #5c6688; }
.day-add button { padding: 6px 10px; font-size: 13px; }
.day-add button:hover { color: white; background: var(--accent); }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 940px;
  margin-inline: auto;
  gap: clamp(14px, 2vw, 24px);
}

.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(22px, 3.5vw, 43px);
  border-radius: 25px;
  background: var(--paper);
  border: 1px solid #e0e4f1;
}

.plan-free { background: #eeeffd; border-color: #dadef5; }
.plan h3 { font-size: clamp(24px, 2.55vw, 34px); }
.price {
  color: var(--ink);
  font-size: clamp(36px, 4.3vw, 53px);
  font-weight: 660;
  line-height: 1.26;
  letter-spacing: -.025em;
  margin-top: 14px;
}

.price span {
  font-size: 16px;
  letter-spacing: normal;
  font-weight: 460;
  color: var(--muted);
  white-space: nowrap;
}

.plan ul {
  width: 100%;
  flex: 1;
  list-style: none;
  margin-top: 18px;
  padding: 15px 0 23px;
  border-top: 1px solid #dce0f6;
}

.plan li {
  position: relative;
  margin-top: 10px;
  padding-left: 23px;
  color: #394468;
  font-size: clamp(14px, 1.46vw, 16px);
}

.plan li::before {
  content: "";
  position: absolute;
  inset: .36em auto auto 3px;
  width: .43em;
  height: .69em;
  border-right: 1.6px solid #4f55b1;
  border-bottom: 1.6px solid #4f55b1;
  transform: rotate(42deg);
}

.plan-status {
  min-height: 50px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-weight: 580;
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, .67fr) minmax(0, 1.33fr);
  gap: clamp(20px, 5vw, 72px);
}

.faq .section-heading { margin: 0; }
.faq-list { border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  position: relative;
  display: block;
  padding: 18px 37px 18px 0;
  color: var(--ink);
  font-size: clamp(16px, 1.65vw, 20px);
  font-weight: 610;
  letter-spacing: -.018em;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::before, .faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 14px;
  border-top: 2px solid currentColor;
  border-radius: 2px;
  color: var(--accent);
  transform: translateY(-50%);
}

.faq summary::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform .26s var(--motion-out);
}

.faq details[open] summary::after { transform: translateY(-50%) rotate(0deg); }
.faq details p { padding: 0 32px 18px 0; color: var(--muted); }
.faq-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.missing-page {
  display: grid;
  min-height: min(780px, 100svh);
  align-content: center;
  justify-items: start;
  gap: 20px;
}

.missing-page h1 { font-size: clamp(39px, 7vw, 68px); }
.missing-page p { color: var(--muted); }

.site-footer {
  border-top: 1px solid #e1e4f2;
  background: #eef0fb;
}

.footer-inner {
  display: grid;
  gap: 22px clamp(15px, 4.5vw, 65px);
  grid-template-columns: minmax(180px, 1fr) auto auto auto;
  align-items: start;
  padding-block: 37px 43px;
}

.footer-inner p { margin-top: 12px; color: var(--muted); font-size: 14px; }
.footer-inner nav { display: grid; gap: 8px; font-size: 14px; color: #414c73; }
.footer-inner .button { min-height: 41px; justify-self: start; }

@media (max-width: 1240px) {
  :root { --header-height: 68px; }
  .site-nav { display: none; }
  .header-sections { display: block; }
}

@media (max-width: 1050px) {
  .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tool-grid a { padding-inline: 21px; }
  .tool-grid img { max-width: 158px; }
  .hero h1 { font-size: clamp(44px, 6.5vw, 67px); }
  .trial-inner { gap: clamp(24px, 4vw, 42px); }
  .planner-top { flex-wrap: wrap; }
  .preview-panel { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}

@media (max-width: 800px) {
  .trial-inner { grid-template-columns: 1fr; max-width: 620px; }
  .trial-copy h2 { max-width: 18ch; }
  .trial-copy p { max-width: 53ch; }
  .trial-copy .text-link { margin-top: 14px; }
  .footer-inner { grid-template-columns: minmax(150px, 1.4fr) minmax(100px, 1fr) minmax(115px, 1fr); }
}

@media (max-width: 650px) {
  :root { --radius-large: 22px; --header-height: 64px; }
  .header-inner .header-brand { gap: 7px; font-size: 25px; }
  .header-inner .header-brand img { width: 34px; height: 34px; }
  .header-actions { gap: 8px; }
  .header-open { display: none; }
  .header-popover .header-mobile-open { display: flex; }
  .hero-copy { padding-top: 43px; }
  .hero h1 { font-size: clamp(34px, 9.3vw, 53px); letter-spacing: -.025em; }
  .hero-copy > p { max-width: 34ch; }
  .desktop-break { display: none; }
  .hero-stage { margin-top: 30px; padding-bottom: 29px; }
  .desk-art { width: 695px; bottom: -8px; opacity: .8; }
  .devices {
    width: min(100% - 24px, 490px);
    min-height: clamp(254px, 73vw, 350px);
    padding: 28px 4% 28px 0;
  }
  .desktop-device { width: 89%; }
  .phone-device { width: clamp(126px, 38%, 170px); right: 1%; bottom: 3px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tool-grid a { padding: 8px 13px 15px; border-radius: 17px; }
  .tool-grid img { max-width: 135px; }
  .preview-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
  .preview-tabs button { padding: 7px 6px; font-size: 14px; min-height: 42px; }
  .preview-panel { grid-template-columns: minmax(0, 1fr); border-radius: 15px; }
  .preview-copy { grid-row: 1; padding: 22px 18px 19px; }
  .preview-copy .text-link { margin-top: 14px; }
  .preview-art { padding: 0 17px 18px; }
  .preview-frame { width: min(100%, 330px); margin-inline: auto; border-radius: 13px; }
  .preview-image img { aspect-ratio: .77; }
  .feature-grid, .plan-grid, .faq { grid-template-columns: minmax(0, 1fr); }
  .feature-media { margin-inline: 21px; }
  .feature-media img { object-position: left top; }
  .week-days button { min-height: 50px; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 25px 32px; }
  .footer-inner > div { grid-column: 1 / -1; }
}

@media (max-width: 390px) {
  :root { --page-gutter: 15px; }
  .brand { gap: 6px; font-size: 22px; }
  .brand img { width: 29px; height: 29px; }
  .hero .button { padding-inline: 11px; font-size: 14px; min-height: 46px; }
  .actions { margin-top: 20px; gap: 7px; }
  .tool-grid a { padding-inline: 11px; }
  .tool-label { font-size: 17px; }
  .tool-grid p { font-size: 12px; }
  .week-tools { width: 100%; gap: 4px; }
  .week-range { flex: 1; font-size: 12px; }
  .day-list li { grid-template-columns: 56px minmax(0, 1fr); gap: 5px; }
  .day-list label { gap: 6px; }
}

@keyframes hero-copy-in {
  from { opacity: .20; transform: translateY(11px); }
  to { opacity: 1; transform: none; }
}

@keyframes desktop-in {
  from { opacity: .32; transform: translateY(30px) scale(.98); }
  to { opacity: 1; transform: none; }
}

@keyframes phone-in {
  from { opacity: .25; transform: translate(10px, 24px); }
  to { opacity: 1; transform: none; }
}

@keyframes desk-in {
  from { opacity: 0; }
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-5px) scale(.985); }
  to { opacity: 1; transform: none; }
}

@keyframes answer-in {
  from { opacity: .36; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }
  :root:has(.skip:focus) { scroll-behavior: auto; }

  .hero-copy > h1 { animation: hero-copy-in .46s var(--motion-out) both; }
  .hero-copy > p { animation: hero-copy-in .46s var(--motion-out) .055s both; }
  .hero .actions { animation: hero-copy-in .46s var(--motion-out) .10s both; }
  .desktop-device { animation: desktop-in .65s var(--motion-out) .11s both; }
  .phone-device { animation: phone-in .68s var(--motion-out) .18s both; }
  .desk-art { animation: desk-in .60s ease-out .12s both; }

  .header-actions details[open] .header-popover {
    transform-origin: top right;
    animation: menu-in .19s var(--motion-out) both;
  }

  .button:active, .header-icon:active, .preview-tabs button:active,
  .week-tools button:active, .week-days button:active, .day-add button:active {
    transform: translateY(1px) scale(.975);
  }

  .faq details[open] > p { animation: answer-in .26s var(--motion-out) both; }

  @supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    .faq details { interpolate-size: allow-keywords; }

    .faq details::details-content {
      overflow: clip;
      block-size: 0;
      opacity: 0;
      transition: block-size .3s var(--motion-out), opacity .24s ease,
        content-visibility .3s allow-discrete;
    }

    .faq details[open]::details-content { block-size: auto; opacity: 1; }
    .faq details[open] > p { animation: none; }
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .button-primary:hover { box-shadow: 0 6px 15px #34439b34; }
  .tool-grid a:hover { transform: translateY(-2px); }
  .tool-grid a:hover img { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    animation: none !important;
  }
}

@media (forced-colors: active) {
  .button, .preview-tabs button, .tool-grid a, .week-days button, .plan { border: 1px solid ButtonText; }
  .preview-tabs button[aria-selected="true"], .week-days button[aria-pressed="true"] {
    forced-color-adjust: none;
    color: HighlightText;
    background: Highlight;
  }
}
