/* Shared + page specific styles */
    :root {
      --ink: #0f172a;
      --muted: #5b6472;
      --line: #d8e5f6;
      --paper: #ffffff;
      --soft: #eef6ff;
      --accent: #2563eb;
      --accent-strong: #1d4ed8;
      --blue: #123a7c;
      --blue-soft: #e7f0ff;
      --sky: #0ea5e9;
      --warm: #f97316;
      --shadow: 0 18px 50px rgba(37, 99, 235, 0.12);
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
      line-height: 1.6;
      margin: 0;
      color: var(--ink);
      background: linear-gradient(180deg, #f5f9ff 0%, #eef6ff 100%);
    }

    .wrap {
      max-width: 1080px;
      margin: 0 auto;
      padding: 28px 20px 64px;
    }

    h1 {
      font-size: clamp(32px, 6vw, 56px);
      line-height: 1.08;
      letter-spacing: 0;
      margin: 0 0 8px;
      white-space: nowrap;
    }

    h2 {
      font-size: 24px;
      line-height: 1.25;
      letter-spacing: 0;
      margin: 0 0 14px;
    }

    h3 {
      letter-spacing: 0;
    }

    p {
      margin: 0 0 16px;
      color: #313642;
    }

    ul {
      padding-left: 18px;
      margin: 0;
    }

    li {
      margin: 10px 0;
    }

    a {
      color: var(--accent-strong);
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    .lead {
      font-size: 18px;
      color: #2c3240;
      max-width: 720px;
    }

    .title-kana {
      display: inline-flex;
      align-items: center;
      color: var(--accent-strong);
      background: rgba(37, 99, 235, 0.1);
      border: 1px solid rgba(37, 99, 235, 0.18);
      border-radius: 999px;
      padding: 5px 12px;
      font-size: 15px;
      font-weight: 800;
      margin: 0 0 18px;
    }

    .hero {
      position: relative;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 28px;
      background:
        linear-gradient(145deg, rgba(37, 99, 235, 0.18), rgba(14, 165, 233, 0.1) 38%, rgba(255, 255, 255, 0.98) 72%),
        var(--paper);
      box-shadow: var(--shadow);
      padding: clamp(28px, 5vw, 56px);
      margin: 22px 0 28px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
      gap: 28px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--accent-strong);
      background: rgba(37, 99, 235, 0.1);
      border: 1px solid rgba(37, 99, 235, 0.2);
      border-radius: 999px;
      padding: 6px 12px;
      font-size: 13px;
      font-weight: 700;
      margin: 0 0 18px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 24px;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 10px 16px;
      border-radius: 12px;
      font-weight: 700;
      border: 1px solid transparent;
      text-decoration: none;
    }

    .button.primary {
      background: linear-gradient(135deg, var(--accent), #0f4fd3);
      color: #fff;
      box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
    }

    .button.secondary {
      background: #fff;
      color: var(--accent-strong);
      border-color: rgba(37, 99, 235, 0.2);
    }

    .button:hover {
      text-decoration: none;
      filter: brightness(0.98);
    }

    .phone-card {
      position: relative;
      min-height: 380px;
      border-radius: 34px;
      background: linear-gradient(160deg, #0a0d12, #171a21);
      border: 1px solid rgba(255,255,255,0.12);
      box-shadow: 0 24px 60px rgba(10, 13, 18, 0.28);
      padding: 18px;
      color: #fff;
    }

    .phone-screen {
      height: 100%;
      min-height: 344px;
      border-radius: 24px;
      background: #f7f8fb;
      color: var(--ink);
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .app-mark {
      position: relative;
      width: 44px;
      height: 44px;
      border-radius: 13px;
      background: #050505;
      display: block;
      overflow: hidden;
      box-shadow: 0 10px 24px rgba(16, 20, 25, 0.18);
    }

    .app-icon {
      display: block;
      width: 44px;
      height: 44px;
      border-radius: 13px;
      object-fit: cover;
      box-shadow: 0 10px 24px rgba(16, 20, 25, 0.18);
    }

    .hero-icon {
      width: 96px;
      height: 96px;
      border-radius: 24px;
      object-fit: cover;
      box-shadow: 0 20px 45px rgba(16, 20, 25, 0.25);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hero-icon-row {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 18px;
    }

    .hero-icon-row strong {
      display: block;
      font-size: 18px;
      line-height: 1.3;
    }

    .hero-icon-row span {
      display: block;
      color: var(--muted);
      font-size: 13px;
      margin-top: 3px;
    }

    .wave {
      position: absolute;
      left: 50%;
      top: 9px;
      transform: translateX(-50%);
      display: flex;
      align-items: center;
      gap: 2px;
      height: 26px;
    }

    .wave span {
      display: block;
      width: 3px;
      border-radius: 99px;
      background: #ff1f1f;
    }

    .wave span:nth-child(1) { height: 12px; }
    .wave span:nth-child(2) { height: 22px; }
    .wave span:nth-child(3) { height: 15px; }
    .wave span:nth-child(4) { height: 28px; }
    .wave span:nth-child(5) { height: 18px; }
    .wave span:nth-child(6) { height: 13px; }

    .screen-title {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 4px;
    }

    .screen-title strong {
      display: block;
      font-size: 17px;
      line-height: 1.25;
    }

    .screen-title small {
      color: var(--muted);
      display: block;
      margin-top: 2px;
    }

    .summary-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 14px;
    }

    .summary-card strong {
      display: block;
      font-size: 14px;
      margin-bottom: 8px;
    }

    .summary-card p {
      font-size: 13px;
      color: var(--muted);
      margin: 0;
    }

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

    .tag {
      font-size: 12px;
      color: var(--blue);
      background: var(--blue-soft);
      border-radius: 999px;
      padding: 5px 9px;
      font-weight: 700;
    }

    .meter {
      height: 8px;
      border-radius: 999px;
      background: #e7ebf1;
      overflow: hidden;
    }

    .meter span {
      display: block;
      width: 72%;
      height: 100%;
      background: linear-gradient(90deg, var(--accent), var(--sky));
    }

    .box {
      background: var(--paper);
      border: 1px solid var(--line);
      padding: 22px;
      border-radius: 18px;
      margin: 20px 0;
      box-shadow: 0 10px 34px rgba(37, 99, 235, 0.07);
    }

    .section {
      margin-top: 28px;
      padding: 28px;
      border-radius: 22px;
      background: var(--paper);
      border: 1px solid var(--line);
      box-shadow: 0 10px 34px rgba(37, 99, 235, 0.07);
    }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 12px;
    }

    .feature {
      padding: 16px;
      border-radius: 16px;
      background: linear-gradient(180deg, #f7fbff, var(--soft));
      border: 1px solid var(--line);
    }

    .feature strong {
      display: block;
      margin-bottom: 6px;
    }

    .feature p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    .steps {
      list-style: none;
      padding-left: 0;
      margin: 0;
      display: grid;
      gap: 10px;
      counter-reset: steps;
    }

    .steps li {
      position: relative;
      margin: 0;
      color: #333;
      background: linear-gradient(180deg, #f7fbff, var(--soft));
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 14px 14px 14px 52px;
      counter-increment: steps;
    }

    .steps li::before {
      content: counter(steps);
      position: absolute;
      left: 14px;
      top: 14px;
      width: 26px;
      height: 26px;
      border-radius: 999px;
      display: grid;
      place-items: center;
      background: var(--accent);
      color: #fff;
      font-weight: 800;
      font-size: 13px;
    }

    .plan-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 12px;
      margin: 16px 0;
    }

    .plan {
      position: relative;
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 18px;
      background: #fff;
      box-shadow: 0 10px 34px rgba(37, 99, 235, 0.07);
    }

    .plan.highlight {
      border-color: rgba(37, 99, 235, 0.36);
      background: linear-gradient(180deg, #f7fbff, #edf5ff);
    }

    .badge {
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      padding: 4px 8px;
      background: rgba(14, 165, 233, 0.13);
      color: #075985;
      font-size: 12px;
      font-weight: 800;
      margin-left: 6px;
    }

    .plan h3 {
      font-size: 18px;
      margin: 0 0 8px;
    }

    .plan ul {
      padding-left: 18px;
      margin: 0;
    }

    .plan li {
      margin: 6px 0;
      color: #333;
    }

    .muted {
      color: var(--muted);
      font-size: 14px;
    }

    .note {
      margin-top: 28px;
      font-size: 12px;
      color: var(--muted);
    }

    .page-nav {
      max-width: 1080px;
      margin: 0 auto;
      padding: 18px 20px 0;
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      align-items: center;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--ink);
      font-weight: 800;
      margin-right: auto;
    }

    .page-nav a {
      display: inline-block;
      padding: 8px 14px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #fff;
      color: var(--accent-strong);
      text-decoration: none;
      font-size: 14px;
      line-height: 1.4;
    }

    .page-nav a:hover {
      background: #eaf2ff;
      text-decoration: none;
    }

    .page-nav a.current {
      background: var(--accent-strong);
      color: #fff;
      border-color: var(--accent-strong);
    }

    .footer {
      border-top: 1px solid var(--line);
      margin-top: 30px;
      padding-top: 18px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px 18px;
      justify-content: space-between;
      color: var(--muted);
      font-size: 13px;
    }

    @media (max-width: 820px) {
      .hero-grid {
        grid-template-columns: 1fr;
      }

      .phone-card {
        min-height: auto;
      }
    }

    @media (max-width: 560px) {
      .wrap {
        padding-inline: 14px;
      }

      .hero,
      .section {
        border-radius: 20px;
        padding: 20px;
      }

      h1 {
        font-size: clamp(36px, 13vw, 52px);
      }

      .page-nav {
        padding-inline: 14px;
      }

      .brand {
        flex-basis: 100%;
        margin-bottom: 4px;
      }
    }

/* Support page styles */
    :root {
      --ink: #0f172a;
      --muted: #5b6472;
      --line: #d8e5f6;
      --paper: #ffffff;
      --soft: #eef6ff;
      --accent: #2563eb;
      --accent-strong: #1d4ed8;
      --blue: #123a7c;
      --blue-soft: #e7f0ff;
      --sky: #0ea5e9;
      --shadow: 0 18px 50px rgba(37, 99, 235, 0.12);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: linear-gradient(180deg, #f5f9ff 0%, #eef6ff 100%);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
      line-height: 1.7;
    }

    a {
      color: var(--accent-strong);
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    h1 {
      margin: 0 0 10px;
      font-size: clamp(34px, 6vw, 56px);
      line-height: 1.08;
      letter-spacing: 0;
    }

    h2 {
      margin: 0 0 14px;
      font-size: 24px;
      line-height: 1.25;
      letter-spacing: 0;
    }

    h3 {
      margin: 0 0 8px;
      font-size: 17px;
      line-height: 1.35;
      letter-spacing: 0;
    }

    p {
      margin: 0 0 14px;
      color: #313642;
    }

    ul {
      margin: 8px 0 0;
      padding-left: 18px;
    }

    li {
      margin: 8px 0;
    }

    code {
      border-radius: 6px;
      background: #e7f0ff;
      padding: 2px 6px;
    }

    .page-nav {
      max-width: 1080px;
      margin: 0 auto;
      padding: 18px 20px 0;
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-right: auto;
      color: var(--ink);
      font-weight: 800;
    }

    .app-icon {
      display: block;
      width: 44px;
      height: 44px;
      border-radius: 13px;
      object-fit: cover;
      box-shadow: 0 10px 24px rgba(16, 20, 25, 0.18);
    }

    .page-nav a {
      display: inline-block;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #fff;
      color: var(--accent-strong);
      padding: 8px 14px;
      font-size: 14px;
      line-height: 1.4;
      text-decoration: none;
    }

    .page-nav a:hover {
      background: #eaf2ff;
      text-decoration: none;
    }

    .page-nav a.current {
      border-color: var(--accent-strong);
      background: var(--accent-strong);
      color: #fff;
    }

    .wrap {
      max-width: 1080px;
      margin: 0 auto;
      padding: 28px 20px 64px;
    }

    .hero {
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 28px;
      background:
        linear-gradient(145deg, rgba(37, 99, 235, 0.18), rgba(14, 165, 233, 0.1) 38%, rgba(255, 255, 255, 0.98) 72%),
        var(--paper);
      box-shadow: var(--shadow);
      padding: clamp(28px, 5vw, 56px);
      margin: 22px 0 28px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 320px;
      gap: 28px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      border: 1px solid rgba(37, 99, 235, 0.2);
      border-radius: 999px;
      background: rgba(37, 99, 235, 0.1);
      color: var(--accent-strong);
      padding: 6px 12px;
      font-size: 13px;
      font-weight: 800;
      margin: 0 0 18px;
    }

    .lead {
      max-width: 720px;
      color: #2c3240;
      font-size: 18px;
    }

    .button-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 24px;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      border: 1px solid transparent;
      border-radius: 12px;
      padding: 10px 16px;
      font-weight: 800;
      text-decoration: none;
    }

    .button.primary {
      background: linear-gradient(135deg, var(--accent), #0f4fd3);
      color: #fff;
      box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
    }

    .button.secondary {
      border-color: rgba(37, 99, 235, 0.2);
      background: #fff;
      color: var(--accent-strong);
    }

    .button:hover {
      filter: brightness(0.98);
      text-decoration: none;
    }

    .support-panel {
      border: 1px solid var(--line);
      border-radius: 24px;
      background: #fff;
      padding: 22px;
      box-shadow: 0 14px 34px rgba(37, 99, 235, 0.08);
    }

    .support-panel .app-icon {
      width: 76px;
      height: 76px;
      border-radius: 20px;
      margin-bottom: 16px;
    }

    .support-panel strong {
      display: block;
      font-size: 18px;
      line-height: 1.35;
      margin-bottom: 6px;
    }

    .support-panel span {
      display: block;
      color: var(--muted);
      font-size: 14px;
    }

    .section {
      margin-top: 28px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: var(--paper);
      box-shadow: 0 10px 34px rgba(37, 99, 235, 0.07);
      padding: 28px;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 14px;
    }

    .card {
      border: 1px solid var(--line);
      border-radius: 18px;
      background: linear-gradient(180deg, #f7fbff, var(--soft));
      padding: 18px;
    }

    .card p,
    .card li {
      color: #333947;
    }

    .faq-list {
      display: grid;
      gap: 12px;
      margin-top: 14px;
    }

    .faq {
      border: 1px solid var(--line);
      border-radius: 18px;
      background: #fff;
      padding: 18px;
    }

    .faq p,
    .faq ul {
      color: #333947;
    }

    .muted {
      color: var(--muted);
      font-size: 14px;
    }

    .footer {
      border-top: 1px solid var(--line);
      margin-top: 30px;
      padding-top: 18px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px 18px;
      justify-content: space-between;
      color: var(--muted);
      font-size: 13px;
    }

    @media (max-width: 820px) {
      .hero-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 560px) {
      .wrap {
        padding-inline: 14px;
      }

      .hero,
      .section {
        border-radius: 20px;
        padding: 20px;
      }

      .page-nav {
        padding-inline: 14px;
      }

      .brand {
        flex-basis: 100%;
        margin-bottom: 4px;
      }
    }

/* Privacy page styles */
    body.page-privacy {
      color: var(--ink);
      background: linear-gradient(180deg, #f5f9ff 0%, #eef6ff 100%);
    }

    body.page-privacy .page-nav {
      max-width: 1080px;
      margin: 0 auto;
      padding: 18px 20px 0;
    }

    body.page-privacy .brand {
      gap: 10px;
      margin-right: auto;
    }

    body.page-privacy h1 {
      max-width: 760px;
      white-space: normal;
    }

    body.page-privacy .hero-grid {
      grid-template-columns: minmax(0, 1fr) 320px;
    }

    body.page-privacy .policy-list {
      display: grid;
      gap: 12px;
      margin-top: 14px;
    }

    body.page-privacy .faq {
      background: linear-gradient(180deg, #ffffff, #f7fbff);
    }

    body.page-privacy .faq h3 {
      color: var(--ink);
    }

    body.page-privacy .faq ul {
      margin-top: 10px;
    }

    body.page-privacy .faq p:last-child,
    body.page-privacy .faq ul:last-child {
      margin-bottom: 0;
    }

    body.page-privacy .support-panel span + span {
      margin-top: 4px;
    }

    @media (max-width: 820px) {
      body.page-privacy .hero-grid {
        grid-template-columns: 1fr;
      }
    }
