:root {
      --grm-bg-top: #eef5ff;
      --grm-bg-bottom: #dceafe;
      --grm-surface: #ffffff;
      --grm-surface-soft: #f4f8ff;
      --grm-border: #d7e5fa;
      --grm-text: #22324f;
      --grm-muted: #5d7295;
      --grm-accent: #4b79d8;
      --grm-accent-strong: #305aac;
      --grm-accent-soft: #e4edff;
      --grm-shadow: 0 16px 42px rgba(39, 79, 143, 0.14);
      --grm-shadow-soft: 0 8px 24px rgba(46, 84, 145, 0.12);
      --wrap: min(1280px, calc(100vw - 36px));
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--grm-text);
      font-family: "Manrope", "Segoe UI", "Roboto", sans-serif;
      background:
        radial-gradient(circle at 10% 14%, rgba(255, 255, 255, 0.92), transparent 34%),
        radial-gradient(circle at 87% 18%, rgba(123, 169, 244, 0.22), transparent 30%),
        linear-gradient(165deg, var(--grm-bg-top), var(--grm-bg-bottom));
      min-height: 100vh;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .shell {
      width: var(--wrap);
      margin: 0 auto;
    }

    .header-wrap {
      position: sticky;
      top: 14px;
      z-index: 80;
      padding-top: 14px;
      transition: top 0.24s ease, padding-top 0.24s ease;
    }

    .header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      min-height: 74px;
      padding: 10px 18px;
      border: 1px solid var(--grm-border);
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.9);
      box-shadow: var(--grm-shadow-soft);
      backdrop-filter: blur(8px);
      transition: background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, border-radius 0.24s ease, padding 0.24s ease;
    }

    @media (min-width: 761px) {
      .header-wrap::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        transform: none;
        background: rgba(255, 255, 255, 0.94);
        border-bottom: 1px solid rgba(215, 229, 250, 0.82);
        box-shadow: 0 10px 26px rgba(46, 84, 145, 0.1);
        backdrop-filter: blur(10px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.24s ease;
        z-index: -1;
      }

      .header-wrap.is-stuck {
        top: 0;
        padding-top: 0;
      }

      .header-wrap.is-stuck::before {
        opacity: 1;
      }

      .header-wrap.is-stuck .header {
        min-height: 60px;
        padding: 8px 0;
        border-color: transparent;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
      }
    }

    .site-nav {
      flex: 1 1 auto;
      min-width: 0;
      display: flex;
      justify-content: center;
    }

    .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
      white-space: nowrap;
      font-weight: 800;
      color: #2a4f8a;
      letter-spacing: 0.01em;
    }

    .brand img {
  width: 44px;
  height: 44px;
      object-fit: contain;
      border-radius: 10px;
      background: #fff;
    }

    .brand-mark {
      font-family: "Sora", "Manrope", sans-serif;
      font-size: 1.07rem;
      line-height: 1.05;
    }

    .brand-mark small {
      display: block;
      margin-top: 2px;
      font-family: "Manrope", sans-serif;
      font-size: 0.68rem;
      color: #6c82a6;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: nowrap;
      justify-content: center;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .nav li {
      flex: 0 0 auto;
    }

    .nav a {
      padding: 10px 13px;
      border-radius: 12px;
      font-weight: 700;
      color: #385883;
      white-space: nowrap;
      transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }

    .nav a:hover {
      background: #e8f1ff;
      color: #274b83;
      transform: translateY(-1px);
    }

    .nav a[aria-current="page"] {
      background: #e8f1ff;
      color: #274b83;
    }

    .nav-dropdown {
      position: relative;
    }

    .nav-dropdown::after {
      content: "";
      position: absolute;
      left: -12px;
      right: -12px;
      top: 100%;
      height: 16px;
    }

    .nav-dropdown-trigger {
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }

    .nav-dropdown-caret {
      width: 7px;
      height: 7px;
      border-right: 2px solid currentColor;
      border-bottom: 2px solid currentColor;
      transform: rotate(45deg) translateY(-1px);
      opacity: 0.76;
    }

    .nav-dropdown-panel {
      position: absolute;
      left: 50%;
      top: calc(100% + 12px);
      z-index: 120;
      width: min(440px, calc(100vw - 36px));
      padding: 14px;
      border: 1px solid #d7e5fa;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.98);
      box-shadow: 0 22px 48px rgba(38, 69, 119, 0.18);
      transform: translate(-50%, 8px);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    }

    .nav-dropdown:hover .nav-dropdown-panel,
    .nav-dropdown:focus-within .nav-dropdown-panel {
      transform: translate(-50%, 0);
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .nav-dropdown-item {
      display: grid;
      grid-template-columns: 46px minmax(0, 1fr);
      gap: 12px;
      align-items: center;
      padding: 12px;
      border-radius: 16px;
      color: #22324f;
    }

    .nav-dropdown-item:hover,
    .nav-dropdown-item[aria-current="page"] {
      background: #f2f7ff;
      transform: none;
    }

    .nav-dropdown-icon {
      width: 46px;
      height: 46px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid #d8e7fc;
      border-radius: 14px;
      color: #436dbd;
      background: #f7fbff;
    }

    .nav-dropdown-icon svg {
      width: 22px;
      height: 22px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .nav-dropdown-copy {
      min-width: 0;
      display: grid;
      gap: 3px;
    }

    .nav-dropdown-copy strong {
      color: #20314e;
      font-size: 0.98rem;
      font-weight: 800;
      line-height: 1.2;
    }

    .nav-dropdown-copy span {
      color: #63789b;
      font-size: 0.86rem;
      font-weight: 600;
      line-height: 1.35;
      white-space: normal;
    }

    .nav-link-icon {
      display: none;
    }

    .header-actions {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
    }

    .mobile-menu-toggle,
    .mobile-nav-extra {
      display: none;
    }

    .mobile-menu-toggle {
      position: relative;
      width: 42px;
      height: 42px;
      padding: 0;
      border-radius: 13px;
      border: 1px solid #c6d9f7;
      background: #f7fbff;
      color: #355886;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }

    .mobile-menu-toggle:hover {
      transform: translateY(-1px);
      background: #edf5ff;
      box-shadow: 0 10px 18px rgba(53, 89, 150, 0.12);
    }

    .mobile-menu-toggle span {
      position: absolute;
      left: 50%;
      top: 50%;
      width: 16px;
      height: 2px;
      border-radius: 999px;
      background: currentColor;
      transition: transform 0.22s ease, opacity 0.22s ease;
      transform: translate(-50%, -50%);
    }

    .mobile-menu-toggle span:nth-child(1) {
      top: calc(50% - 5px);
    }

    .mobile-menu-toggle span:nth-child(3) {
      top: calc(50% + 5px);
    }

    .header-wrap.is-mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
      top: 50%;
      transform: translate(-50%, -50%) rotate(45deg);
    }

    .header-wrap.is-mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
      opacity: 0;
      transform: translate(-50%, -50%);
    }

    .header-wrap.is-mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
      top: 50%;
      transform: translate(-50%, -50%) rotate(-45deg);
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .btn {
      border-radius: 12px;
      border: 1px solid #c6d9f7;
      background: #f7fbff;
      color: #355886;
      font-weight: 700;
      padding: 11px 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }

    .btn:hover {
      transform: translateY(-1px);
      background: #edf5ff;
      box-shadow: 0 10px 18px rgba(53, 89, 150, 0.12);
    }

    .btn.primary {
      border: 0;
      color: #fff;
      background: linear-gradient(140deg, var(--grm-accent), var(--grm-accent-strong));
      box-shadow: 0 10px 24px rgba(52, 93, 171, 0.26);
    }

    .hero {
      width: var(--wrap);
      margin: 28px auto 0;
      padding: 38px 28px 26px;
      border: 1px solid var(--grm-border);
      border-radius: 24px;
      background: rgba(255, 255, 255, 0.87);
      box-shadow: var(--grm-shadow);
      display: grid;
      grid-template-columns: 1.08fr 1fr;
      gap: 28px;
      align-items: center;
      overflow: hidden;
      position: relative;
      animation: rise 0.4s ease-out both;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: -30% -12% auto auto;
      width: 420px;
      height: 420px;
      border-radius: 50%;
      background: radial-gradient(circle at center, rgba(101, 149, 233, 0.22), rgba(101, 149, 233, 0));
      pointer-events: none;
    }

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

    .kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 11px;
      border-radius: 999px;
      border: 1px solid #d4e4fb;
      background: #f3f8ff;
      color: #4a6794;
      font-size: 0.81rem;
      font-weight: 800;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .hero h1 {
      margin: 16px 0 12px;
      font-family: "Sora", "Manrope", sans-serif;
      font-size: clamp(1.9rem, 3.1vw, 3.05rem);
      line-height: 1.12;
      letter-spacing: -0.01em;
      max-width: 14ch;
      text-wrap: balance;
    }

    .hero p {
      margin: 0;
      max-width: 52ch;
      color: var(--grm-muted);
      line-height: 1.62;
      font-size: clamp(0.99rem, 1.45vw, 1.07rem);
    }

    .hero-cta {
      margin-top: 20px;
      display: flex;
      flex-wrap: wrap;
      gap: 11px;
    }

    .hero-meta {
      margin-top: 16px;
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      color: #55749f;
      font-size: 0.93rem;
      font-weight: 700;
    }

    .hero-meta span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 9px;
      border-radius: 999px;
      background: #eef5ff;
      border: 1px solid #d8e7fd;
    }

    .animate-on-scroll {
      opacity: 0;
      transform: translateY(26px) scale(0.985);
      transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
    }

    .animate-on-scroll.visible {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    .visual {
      position: relative;
      z-index: 1;
      width: min(100%, 470px);
      justify-self: end;
    }

    .mail-showcase {
      position: relative;
      padding: 26px;
      border-radius: 32px;
      border: 1px solid #cfe0fa;
      background:
        radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.98), transparent 30%),
        radial-gradient(circle at 86% 14%, rgba(111, 160, 239, 0.2), transparent 26%),
        linear-gradient(180deg, rgba(249, 252, 255, 0.92), rgba(235, 244, 255, 0.96));
      box-shadow: 0 22px 48px rgba(46, 84, 145, 0.16);
      overflow: hidden;
      isolation: isolate;
      min-height: 540px;
    }

    .mail-showcase::before,
    .mail-showcase::after {
      content: "";
      position: absolute;
      border-radius: 999px;
      pointer-events: none;
      z-index: 0;
    }

    .mail-showcase::before {
      inset: auto auto -12% -10%;
      width: 220px;
      height: 220px;
      background: radial-gradient(circle at center, rgba(103, 150, 233, 0.18), rgba(103, 150, 233, 0));
    }

    .mail-showcase::after {
      inset: 0;
      background:
        linear-gradient(90deg, rgba(112, 156, 235, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(112, 156, 235, 0.08) 1px, transparent 1px);
      background-size: 30px 30px;
      mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.74) 16%, rgba(0, 0, 0, 0.74) 84%, transparent);
      opacity: 0.42;
    }

    .hero-webmail {
      position: relative;
      z-index: 1;
      border-radius: 24px;
      overflow: hidden;
      border: 1px solid #d4e3fb;
      background: rgba(255, 255, 255, 0.9);
      box-shadow: 0 20px 40px rgba(43, 78, 136, 0.16);
      backdrop-filter: blur(8px);
    }

    .webmail-bar {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 16px;
      border-bottom: 1px solid #dbe7fb;
      background: linear-gradient(180deg, #f9fbff, #eef4ff);
    }

    .webmail-dots {
      display: flex;
      gap: 6px;
    }

    .webmail-dots i {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: #bfd4f6;
      display: inline-block;
    }

    .webmail-url {
      min-width: 0;
      flex: 1 1 auto;
      height: 30px;
      border-radius: 999px;
      border: 1px solid #d9e7fb;
      background: rgba(255, 255, 255, 0.92);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #5f7ba6;
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.01em;
    }

    .webmail-body {
      display: grid;
      grid-template-columns: 112px minmax(0, 1fr);
      min-height: 388px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 249, 255, 0.98));
    }

    .webmail-sidebar {
      padding: 14px 12px;
      border-right: 1px solid #e0ebfd;
      background: linear-gradient(180deg, rgba(244, 248, 255, 0.94), rgba(237, 244, 255, 0.98));
      display: grid;
      align-content: start;
      gap: 10px;
    }

    .sidebar-brand {
      height: 34px;
      border-radius: 14px;
      background: linear-gradient(180deg, #f4f8ff, #ebf2ff);
      border: 1px solid #d8e6fd;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #3f6294;
      font-size: 0.76rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .sidebar-compose {
      height: 40px;
      border-radius: 14px;
      background: linear-gradient(140deg, var(--grm-accent), var(--grm-accent-strong));
      box-shadow: 0 10px 20px rgba(52, 93, 171, 0.22);
    }

    .sidebar-nav {
      display: grid;
      gap: 8px;
    }

    .sidebar-nav span,
    .sidebar-footer span {
      display: block;
      height: 12px;
      border-radius: 999px;
      background: #d7e4fa;
    }

    .sidebar-nav span:nth-child(1) {
      width: 78%;
      background: #aac5f5;
    }

    .sidebar-nav span:nth-child(2) {
      width: 62%;
    }

    .sidebar-nav span:nth-child(3) {
      width: 70%;
    }

    .sidebar-nav span:nth-child(4) {
      width: 54%;
    }

    .sidebar-footer {
      margin-top: 10px;
      display: grid;
      gap: 8px;
    }

    .sidebar-footer span {
      width: 68%;
      opacity: 0.72;
    }

    .webmail-main {
      padding: 16px 16px 18px;
      display: grid;
      grid-template-rows: auto auto auto 1fr auto;
      align-content: start;
      gap: 14px;
    }

    .mail-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .toolbar-copy strong {
      display: block;
      color: #2d4e83;
      font-family: "Sora", "Manrope", sans-serif;
      font-size: 1rem;
      line-height: 1.1;
    }

    .toolbar-copy span {
      display: block;
      margin-top: 4px;
      color: #6b85ac;
      font-size: 0.78rem;
      font-weight: 700;
    }

    .toolbar-actions {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 15px;
      background: rgba(84, 122, 196, 0.1);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    }

    .toolbar-actions i {
      width: 17px;
      height: 2px;
      border-radius: 999px;
      background: #5c79a8;
      display: block;
      position: relative;
    }

    .toolbar-actions i::before,
    .toolbar-actions i::after {
      content: "";
      position: absolute;
      left: 0;
      width: 17px;
      height: 2px;
      border-radius: 999px;
      background: #5c79a8;
    }

    .toolbar-actions i::before {
      top: -6px;
    }

    .toolbar-actions i::after {
      top: 6px;
    }

    .mail-search {
      min-height: 42px;
      border-radius: 18px;
      border: 1px solid #d9e5fb;
      background: rgba(247, 250, 255, 0.96);
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 0 14px;
      color: #7a90b2;
      font-size: 0.82rem;
      font-weight: 700;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
    }

    .mail-search i {
      width: 14px;
      height: 14px;
      border: 2px solid #89a6d5;
      border-radius: 999px;
      display: inline-block;
      position: relative;
      flex: 0 0 auto;
    }

    .mail-search i::after {
      content: "";
      position: absolute;
      right: -5px;
      bottom: -4px;
      width: 7px;
      height: 2px;
      border-radius: 999px;
      background: #89a6d5;
      transform: rotate(45deg);
      transform-origin: center;
    }

    .mail-filter-row {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .mail-filter-row span {
      min-width: 52px;
      min-height: 28px;
      border-radius: 999px;
      border: 1px solid #d8e6fd;
      background: #f5f9ff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 11px;
      color: #7290b8;
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.01em;
      white-space: nowrap;
    }

    .mail-filter-row span:first-child {
      background: #deebff;
      border-color: #cadefb;
      min-width: 72px;
      color: #3157a1;
    }

    .mail-list {
      display: grid;
      gap: 12px;
      align-content: start;
    }

    .mail-item {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: start;
      gap: 10px;
      padding: 13px 14px;
      border-radius: 22px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
      border: 1px solid #dbe7fb;
      box-shadow: 0 14px 22px rgba(62, 97, 153, 0.08);
    }

    .mail-item.is-highlighted {
      background: linear-gradient(180deg, #f5f9ff, #eef5ff);
      border-color: #cbddfb;
    }

    .mail-avatar {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 16px;
      background: linear-gradient(135deg, #6e99ef, #4979db);
      color: #ffffff;
      font-family: "Sora", "Manrope", sans-serif;
      font-size: 0.9rem;
      font-weight: 700;
      box-shadow: 0 10px 18px rgba(68, 114, 201, 0.2);
      flex: 0 0 auto;
    }

    .mail-avatar.is-alert {
      background: linear-gradient(135deg, #ef9aac, #df697f);
      box-shadow: 0 10px 18px rgba(223, 105, 127, 0.18);
    }

    .mail-copy {
      min-width: 0;
    }

    .mail-row {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
    }

    .mail-sender {
      min-width: 0;
      color: #304e82;
      font-size: 0.9rem;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .mail-pill {
      display: inline-flex;
      align-items: center;
      min-height: 19px;
      padding: 0 7px;
      border-radius: 999px;
      background: rgba(83, 124, 208, 0.1);
      color: #4168b2;
      font-size: 0.62rem;
      font-weight: 800;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      flex: 0 0 auto;
    }

    .mail-pill.is-flagged {
      background: rgba(227, 111, 139, 0.12);
      color: #bc4f69;
    }

    .mail-subject {
      margin-top: 5px;
      color: #6a81a5;
      font-size: 0.82rem;
      line-height: 1.32;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .mail-time {
      color: #7489ab;
      font-size: 0.76rem;
      font-weight: 700;
      white-space: nowrap;
    }

    .mail-card {
      position: absolute;
      z-index: 2;
      display: grid;
      gap: 7px;
      min-width: 132px;
      padding: 12px 14px;
      border-radius: 18px;
      border: 1px solid rgba(206, 223, 251, 0.94);
      background: rgba(255, 255, 255, 0.88);
      box-shadow: 0 18px 30px rgba(49, 85, 143, 0.14);
      backdrop-filter: blur(12px);
      pointer-events: none;
    }

    .mail-card--top {
      top: 30px;
      right: 18px;
      animation: driftUp 6s ease-in-out infinite;
    }

    .mail-card--bottom {
      left: 12px;
      bottom: 28px;
      animation: driftDown 7s ease-in-out infinite;
    }

    .mail-card strong {
      color: #2f5184;
      font-size: 0.78rem;
      line-height: 1.15;
    }

    .mail-card span {
      height: 7px;
      border-radius: 999px;
      background: #d8e5fb;
      display: block;
    }

    .mail-card span:last-child {
      width: 68%;
    }

    .mail-bottom-nav {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 6px;
      padding: 11px 12px 10px;
      border-radius: 22px;
      background: rgba(255, 255, 255, 0.88);
      box-shadow:
        0 12px 24px rgba(42, 69, 123, 0.08),
        inset 0 0 0 1px rgba(217, 227, 245, 0.85);
      backdrop-filter: blur(14px);
    }

    .mail-bottom-nav span {
      display: grid;
      justify-items: center;
      gap: 6px;
      color: #6d84aa;
      font-size: 0.66rem;
      font-weight: 800;
      letter-spacing: 0.01em;
    }

    .mail-bottom-nav i {
      width: 28px;
      height: 28px;
      border-radius: 12px;
      background: rgba(91, 128, 199, 0.1);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.66);
    }

    .mail-bottom-nav i svg {
      width: 15px;
      height: 15px;
      stroke: #6c86b0;
      stroke-width: 1.9;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .mail-bottom-nav span.is-active i {
      background: linear-gradient(135deg, #5e8dec, #4272d7);
      box-shadow: 0 10px 18px rgba(66, 114, 215, 0.2);
    }

    .mail-bottom-nav span.is-active i svg {
      stroke: #ffffff;
    }

    .mail-bottom-nav span.is-active {
      color: #2f57a4;
    }

    .mail-bottom-nav span.is-compose {
      align-self: start;
      color: transparent;
    }

    .mail-bottom-nav span.is-compose i {
      width: 42px;
      height: 42px;
      border-radius: 16px;
      background: linear-gradient(135deg, #5e8dec, #4272d7);
      box-shadow:
        0 12px 22px rgba(66, 114, 215, 0.24),
        inset 0 0 0 1px rgba(255, 255, 255, 0.36);
      transform: translateY(-4px);
    }

    .mail-bottom-nav span.is-compose i svg {
      width: 18px;
      height: 18px;
      stroke: #ffffff;
      stroke-width: 2.2;
    }

    .compose-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 10px;
    }

    .compose-head b {
      color: #385a8b;
      font-size: 0.78rem;
    }

    .compose-head i {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: #c7d9f7;
      display: inline-block;
    }

    .compose-line {
      height: 8px;
      border-radius: 999px;
      background: #dce7fa;
      margin-bottom: 8px;
    }

    .compose-line.is-short {
      width: 62%;
    }

    .compose-line.is-body {
      height: 56px;
      border-radius: 14px;
      margin-bottom: 0;
      background: #cfdcf5;
    }

    .preview-note {
      min-height: 280px;
      margin: 0;
      padding: 22px;
      display: grid;
      align-content: center;
      justify-items: center;
      gap: 8px;
      text-align: center;
      line-height: 1.55;
      font-size: 0.95rem;
      font-weight: 600;
      color: #57719a;
    }

    @keyframes driftUp {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-8px);
      }
    }

    @keyframes driftDown {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(7px);
      }
    }

    .preview-note strong {
      display: block;
      color: #36598a;
      font-size: 1rem;
    }

    .preview-note code {
      padding: 3px 7px;
      border-radius: 8px;
      background: rgba(227, 237, 254, 0.92);
      color: #284d82;
      font-size: 0.87rem;
    }

    .section {
      width: var(--wrap);
      margin: 24px auto 0;
      padding: 24px;
      border: 1px solid var(--grm-border);
      border-radius: 22px;
      background: rgba(255, 255, 255, 0.88);
      box-shadow: var(--grm-shadow-soft);
      animation: rise 0.45s ease-out both;
    }

    .section h2 {
      margin: 0 0 9px;
      font-family: "Sora", "Manrope", sans-serif;
      font-size: clamp(1.45rem, 2vw, 2rem);
      line-height: 1.2;
    }

    .section-sub {
      margin: 0;
      color: #5f789f;
      line-height: 1.62;
      max-width: 70ch;
    }

    .grid {
      margin-top: 16px;
      display: grid;
      gap: 14px;
    }

    .feature-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .card {
      border: 1px solid #d7e4fb;
      border-radius: 16px;
      background: #f7fbff;
      padding: 16px;
    }

    .card h3 {
      margin: 0 0 8px;
      font-size: 1.06rem;
      color: #2b4d82;
    }

    .card p {
      margin: 0;
      color: #5a749c;
      line-height: 1.6;
      font-size: 0.96rem;
    }

    .pricing-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .price-card {
      padding: 19px;
      border-radius: 16px;
      border: 1px solid #d5e4fb;
      background: linear-gradient(180deg, #f8fbff, #edf4ff);
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .price-card.featured {
      border-color: #bcd2f7;
      background: linear-gradient(170deg, #eaf2ff, #f6faff);
      box-shadow: 0 12px 24px rgba(58, 95, 155, 0.14);
    }

    .plan {
      display: flex;
      align-items: baseline;
      gap: 9px;
    }

    .plan strong {
      font-family: "Sora", "Manrope", sans-serif;
      font-size: 1.75rem;
      color: #2d4e83;
      line-height: 1;
    }

    .plan span {
      color: #5e789f;
      font-size: 0.92rem;
      font-weight: 700;
    }

    .list {
      margin: 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 8px;
      color: #49688f;
      font-size: 0.95rem;
      line-height: 1.45;
    }

    .list li::before {
      content: "";
      display: inline-block;
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: #4b79d8;
      color: #4b79d8;
      margin-right: 8px;
      transform: translateY(-1px);
    }

    .more-toggle {
      align-self: flex-start;
      border: 1px solid #c9dcfa;
      border-radius: 10px;
      background: #f4f9ff;
      color: #3d618f;
      padding: 8px 12px;
      font: inherit;
      font-size: 0.9rem;
      font-weight: 800;
      cursor: pointer;
      transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    }

    .more-toggle:hover {
      transform: translateY(-1px);
      background: #ebf4ff;
      box-shadow: 0 8px 16px rgba(51, 86, 146, 0.12);
    }

    .plan-more {
      margin: 0;
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      transform: translateY(-4px);
      transition: max-height 0.32s ease, opacity 0.24s ease, transform 0.24s ease, margin-top 0.24s ease;
      pointer-events: none;
    }

    .price-card.expanded .plan-more {
      opacity: 1;
      transform: translateY(0);
      margin-top: 2px;
      pointer-events: auto;
    }

    .resource-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .resource-card {
      border-radius: 16px;
      border: 1px solid #d7e4fb;
      background: #f7fbff;
      padding: 16px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .resource-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 24px rgba(53, 89, 150, 0.14);
    }

    .resource-card em {
      display: inline-flex;
      padding: 5px 9px;
      border-radius: 999px;
      background: #e4edff;
      color: #3f6294;
      font-style: normal;
      font-weight: 700;
      font-size: 0.79rem;
      margin-bottom: 10px;
    }

    .resource-card h3 {
      margin: 0 0 8px;
      color: #2e507f;
      font-size: 1.04rem;
    }

    .resource-card p {
      margin: 0;
      color: #5b749c;
      line-height: 1.58;
      font-size: 0.95rem;
    }

    .cta {
      width: var(--wrap);
      margin: 24px auto 30px;
      padding: 22px;
      border: 1px solid #cfdef9;
      border-radius: 20px;
      background: linear-gradient(150deg, #eaf2ff, #f7fbff);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      flex-wrap: wrap;
    }

    .cta strong {
      font-family: "Sora", "Manrope", sans-serif;
      font-size: clamp(1.08rem, 1.8vw, 1.35rem);
      color: #284a7a;
      max-width: 36ch;
      line-height: 1.3;
    }

    .footer {
      width: var(--wrap);
      margin: 0 auto 26px;
      text-align: center;
      font-size: 0.88rem;
      color: #60789f;
    }

    .footer a {
      color: #355c9a;
      font-weight: 700;
      text-decoration: underline;
    }

    @keyframes rise {
      from {
        transform: translateY(8px);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    @keyframes badgeFloatUp {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-9px);
      }
    }

    @keyframes badgeFloatDown {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(8px);
      }
    }

    @media (max-width: 1320px) {
      .header {
        gap: 12px;
        padding: 10px 14px;
      }

      .brand-mark small {
        display: none;
      }

      .nav {
        gap: 4px;
      }

      .nav a {
        padding: 9px 10px;
        font-size: 0.93rem;
      }

      .header-actions .btn {
        padding: 10px 13px;
      }
    }

    @media (max-width: 1080px) {
      .header {
        flex-wrap: wrap;
        justify-content: center;
      }

      .nav {
        flex-wrap: wrap;
      }

      .hero {
        grid-template-columns: 1fr;
      }

      .visual {
        justify-self: center;
      }

      .feature-grid,
      .resource-grid,
      .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 760px) {
      body.home-page .header-actions .header-secondary-action {
        display: inline-flex;
        font-size: 15px;
        min-height: 36px;
        padding: 6px 11px;
        width: auto;
        justify-self: end;
      }

      body.home-page .header-actions .header-primary-action {
        font-size: 15px;
        min-height: 36px;
        padding: 6px 12px;
        width: auto;
        justify-self: start;
      }

      body.home-page .header-primary-action[data-mobile-label] span {
        display: none;
      }

      body.home-page .header-primary-action[data-mobile-label]::after {
        content: attr(data-mobile-label);
      }

      .header-wrap {
        position: relative;
        z-index: 90;
        padding-top: 10px;
      }

      .header,
      .header-actions {
        position: relative;
        overflow: visible;
      }

      .hero::before {
        content: none;
        display: none;
      }

      .shell,
      .hero,
      .section,
      .cta,
      .footer {
        width: min(1280px, calc(100vw - 18px));
      }

      .hero,
      .section,
      .cta {
        padding: 16px;
      }

      .hero-cta {
        margin-top: 18px;
        display: grid;
        gap: 10px;
        justify-items: start;
      }

      .hero-cta .btn.primary {
        width: min(100%, 320px);
      }

      .hero-cta .btn:not(.primary) {
        width: min(100%, 320px);
        color: #355c9a;
      }

      .hero-cta .btn:not(.primary):hover {
        transform: translateY(-1px);
      }

      .hero-meta {
        margin-top: 10px;
        display: block;
        color: #627c9f;
        font-size: 0.89rem;
        line-height: 1.5;
      }

      .hero-meta span {
        display: inline;
        padding: 0;
        border: 0;
        background: none;
      }

      .hero-meta span::after {
        content: " · ";
        color: #8ca2c2;
      }

      .hero-meta span:last-child::after {
        content: "";
      }

      .visual {
        display: none;
      }

      .mail-showcase {
        min-height: 500px;
        padding: 18px;
      }

      .webmail-body {
        grid-template-columns: 88px minmax(0, 1fr);
        min-height: 350px;
      }

      .mail-card {
        min-width: 118px;
      }

      .mail-card--top {
        top: 20px;
        right: 10px;
      }

      .mail-card--bottom {
        left: 8px;
        bottom: 18px;
      }

      .mail-bottom-nav {
        padding: 10px 8px 9px;
      }

      .mail-bottom-nav span {
        font-size: 0.61rem;
      }

      .hero-webmail {
        border-radius: 24px;
      }

      .header {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 10px;
        border-radius: 18px;
        padding: 12px;
      }

      .brand {
        width: 100%;
        justify-content: center;
      }

      .brand img {
        width: 40px;
        height: 40px;
      }

      .brand-mark {
        font-size: 1rem;
      }

      .brand-mark small {
        display: block;
        font-size: 0.62rem;
      }

      .site-nav {
        display: none;
        grid-column: 1 / -1;
        order: 3;
        margin-top: 0;
        width: 100%;
      }

      .header-wrap.is-mobile-menu-open .site-nav {
        display: block;
      }

      .nav {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        justify-content: stretch;
      }

      .nav li {
        width: 100%;
      }

      .nav a {
        width: 100%;
        min-height: 46px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 11px 14px;
        border: 1px solid #d8e7fc;
        border-radius: 13px;
        background: rgba(248, 252, 255, 0.96);
        text-align: left;
        line-height: 1.2;
        box-shadow: 0 8px 18px rgba(53, 89, 150, 0.06);
      }

      .nav-dropdown-panel {
        position: static;
        width: 100%;
        margin-top: 8px;
        padding: 8px;
        border-radius: 16px;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
      }

      .nav-dropdown::after {
        display: none;
      }

      .nav-dropdown:hover .nav-dropdown-panel,
      .nav-dropdown:focus-within .nav-dropdown-panel {
        transform: none;
      }

      .nav-dropdown-item {
        min-height: 0;
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 10px;
      }

      .nav-dropdown-icon {
        width: 42px;
        height: 42px;
      }

      .nav-link-icon {
        width: 18px;
        height: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #6b86b1;
        flex: 0 0 18px;
      }

      .nav-link-icon svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
      }

      .nav-link-label {
        flex: 1 1 auto;
      }

      .mobile-nav-extra {
        display: grid;
        gap: 8px;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #deebfc;
      }

      .mobile-nav-extra .btn {
        width: 100%;
      }

      .header-actions {
        width: 100%;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto;
        align-items: stretch;
        justify-content: stretch;
        gap: 8px;
      }

      .header-actions > * {
        min-width: 0;
      }

      .header-actions .grm-lang-switch {
        justify-self: start;
      }

      .header-actions .grm-lang-summary {
        min-width: 34px;
        min-height: 36px;
        padding-inline: 8px;
        justify-content: center;
      }

      .header-actions .header-login {
        display: inline-flex;
        font-size: 15px;
        min-height: 36px;
        padding: 6px 11px;
        width: auto;
        justify-self: end;
      }

      .header-actions .header-signup {
        font-size: 15px;
        min-height: 36px;
        padding: 6px 12px;
        width: auto;
        justify-self: start;
      }

      .header-signup[data-mobile-label] span {
        display: none;
      }

      .header-signup[data-mobile-label]::after {
        content: attr(data-mobile-label);
      }

      .mobile-menu-toggle {
        display: inline-flex;
        width: 38px;
        height: 38px;
        justify-self: end;
      }

      .grm-lang-menu {
        left: 0;
        right: auto;
        min-width: 156px;
      }

      .feature-grid,
      .pricing-grid,
      .resource-grid {
        grid-template-columns: 1fr;
      }
    }
