/*
Theme Name: IspeAI Official
Theme URI: https://ispeai.com/
Author: albi
Description: イスピア公式サイト専用テーマ。トップページ、使い方、機能紹介、FAQ、お問い合わせを管理できます。
Version: 0.5.7.4
Text Domain: ispeai
*/

:root {
  --coral: #ff7a6b;
  --coral-dark: #e85f54;
  --mint: #5fd3c8;
  --mint-dark: #279f94;
  --lavender: #e8e4f3;
  --peach: #ffe8e0;
  --paper: #fbf8f7;
  --ink: #4a4a4a;
  --muted: #8d8b8b;
  --line: #ebe4e1;
  --white: #ffffff;
  --shadow: 0 18px 50px rgb(91 72 66 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans",
    "Yu Gothic", sans-serif;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: min(1440px, calc(100% - 64px));
  height: 92px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  letter-spacing: 0.02em;
}

.wordmark-en {
  background: linear-gradient(90deg, var(--coral), var(--mint));
  background-clip: text;
  color: transparent;
  font-size: 27px;
  font-weight: 800;
}

.wordmark-ja {
  color: #6b6767;
  font-size: 14px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px;
  border: 1px solid rgb(255 255 255 / 74%);
  border-radius: 999px;
  background: rgb(255 255 255 / 78%);
  box-shadow: 0 10px 35px rgb(76 62 58 / 10%);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(16px);
}

.nav-links > a:not(.nav-cta) {
  padding: 9px 13px;
  border-radius: 999px;
  transition: color 180ms ease;
}

.nav-links > a:not(.nav-cta):hover {
  color: var(--coral);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 8px 22px rgb(232 95 84 / 22%);
  color: var(--white);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: #fff9f8;
}

.hero::after {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--paper));
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 8;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  padding-top: 177px;
}

.eyebrow,
.section-kicker {
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow span {
  width: 44px;
  height: 1px;
  background: var(--mint);
}

.hero h1 {
  margin: 28px 0 22px;
  color: #464141;
  font-size: clamp(42px, 4.45vw, 72px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.25;
}

.hero h1 strong {
  color: var(--coral);
  font-weight: 800;
}

.mobile-break {
  display: none;
}

.hero-lead {
  margin: 0;
  color: #726e6d;
  font-size: 16px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 55px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

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

.button.primary {
  background: var(--coral);
  box-shadow: 0 14px 30px rgb(255 122 107 / 27%);
  color: white;
}

.button.secondary {
  border: 1px solid rgb(255 122 107 / 55%);
  background: white;
  color: var(--coral-dark);
}

.text-link {
  border-bottom: 1px solid #b9b3b1;
  color: #6a6665;
  font-size: 13px;
  font-weight: 700;
}

.availability {
  margin-top: 21px;
  color: #aaa5a3;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hero-art {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}

.hero-blink-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  pointer-events: none;
}

.hero-blink-overlay.is-hidden {
  opacity: 0;
}

.orbit {
  position: absolute;
  z-index: 3;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  right: 9%;
  bottom: 7%;
  width: 510px;
  height: 270px;
  border: 1px solid rgb(95 211 200 / 22%);
  animation: orbit-drift 12s ease-in-out infinite alternate;
}

.orbit-two {
  right: 29%;
  bottom: 14%;
  width: 310px;
  height: 160px;
  border: 1px dashed rgb(255 122 107 / 23%);
  animation: orbit-drift 9s ease-in-out infinite alternate-reverse;
}

.glint {
  position: absolute;
  z-index: 4;
  color: rgb(255 122 107 / 55%);
  font-size: 24px;
  animation: glint 4.8s ease-in-out infinite;
}

.glint-one {
  top: 18%;
  right: 36%;
}

.glint-two {
  right: 5%;
  bottom: 20%;
  color: rgb(95 211 200 / 60%);
  animation-delay: 1.7s;
}

@keyframes orbit-drift {
  to {
    transform: translate3d(12px, -10px, 0) rotate(2deg);
  }
}

@keyframes glint {
  0%,
  70%,
  100% {
    opacity: 0.2;
    transform: scale(0.82);
  }
  78% {
    opacity: 0.85;
    transform: scale(1.1);
  }
}

.quick-intro {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(1120px, calc(100% - 48px));
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  margin: -30px auto 0;
  padding: 20px 43px;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 22px;
  background: rgb(255 255 255 / 90%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quick-intro > p {
  color: #777271;
  font-size: 13px;
  font-weight: 700;
}

.quick-intro > div {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #514d4c;
  font-size: 14px;
  font-weight: 800;
}

.quick-intro i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
}

.section {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 130px 0;
}

.section-heading {
  max-width: 670px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading.compact {
  max-width: 760px;
}

.section-heading h2,
.feature-copy h2,
.story-copy h2,
.guide-intro h2,
.release h2 {
  margin: 12px 0 20px;
  color: #474242;
  font-size: clamp(31px, 3.2vw, 49px);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.4;
}

.section-heading > p:last-child,
.feature-copy > p,
.guide-intro > p {
  color: #888281;
  font-size: 15px;
  line-height: 2;
}

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

.step-grid article {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 12px 40px rgb(77 60 55 / 6%);
}

.step-number {
  position: absolute;
  top: 28px;
  right: 29px;
  color: #d8d2d0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.step-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin-bottom: 33px;
  border-radius: 22px;
  font-size: 31px;
}

.step-icon.coral {
  background: var(--peach);
  color: var(--coral);
}

.step-icon.mint {
  background: #dff5f1;
  color: var(--mint-dark);
}

.step-icon.lavender {
  background: var(--lavender);
  color: #8275aa;
}

.step-grid h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.step-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.overlay-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  align-items: center;
  gap: 78px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-radius: 32px;
  background: white;
  box-shadow: var(--shadow);
}

.video-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #1f1d23;
  object-fit: cover;
}

.video-label {
  position: absolute;
  z-index: 2;
  top: 30px;
  left: 30px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 88%);
  color: var(--coral-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

.video-dot {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.dot-a {
  top: -18px;
  right: 15%;
  width: 56px;
  height: 56px;
  background: rgb(95 211 200 / 25%);
}

.dot-b {
  bottom: -20px;
  left: 10%;
  width: 70px;
  height: 70px;
  background: rgb(255 122 107 / 20%);
}

.feature-copy {
  padding-right: 25px;
}

.feature-copy h2 {
  font-size: clamp(30px, 3vw, 45px);
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 31px 0 0;
  padding: 0;
  list-style: none;
}

.feature-chips li {
  padding: 10px 15px;
  border: 1px solid #e6dfdc;
  border-radius: 999px;
  background: white;
  color: #666160;
  font-size: 12px;
  font-weight: 700;
}

.expressions {
  width: min(1320px, calc(100% - 48px));
  padding-top: 105px;
}

.expression-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.expression-row figure {
  margin: 0;
  text-align: center;
}

.expression-crop {
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  border: 8px solid white;
  border-radius: 26px;
  background: white;
  box-shadow: 0 12px 30px rgb(80 62 57 / 8%);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.expression-row figure:hover .expression-crop {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgb(80 62 57 / 13%);
}

.expression-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
}

.expression-row figcaption {
  margin-top: 14px;
  color: #797372;
  font-size: 12px;
  font-weight: 700;
}

.community {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 86px;
  padding-top: 90px;
}

.community-copy h2 {
  margin: 12px 0 20px;
  font-size: clamp(32px, 3.2vw, 49px);
  letter-spacing: -0.045em;
  line-height: 1.38;
}

.community-copy > p:not(.section-kicker) {
  max-width: 480px;
  color: #888281;
  font-size: 15px;
  line-height: 2;
}

.community-visual {
  position: relative;
  width: min(100%, 520px);
  max-height: none;
  justify-self: center;
  overflow: visible;
  padding: 18px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 82% 15%, rgb(95 211 200 / 20%), transparent 24%),
    #fff;
  box-shadow: var(--shadow);
}

.community-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  object-fit: contain;
}

.community-badge {
  position: absolute;
  z-index: 2;
  top: 34px;
  right: 34px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgb(255 255 255 / 90%);
  color: var(--coral-dark);
  box-shadow: 0 10px 28px rgb(65 50 47 / 12%);
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.story {
  position: relative;
  display: grid;
  grid-template-columns: 0.18fr 0.93fr 0.89fr;
  align-items: center;
  gap: 48px;
  width: min(1280px, calc(100% - 48px));
  margin-top: 40px;
  padding: 80px 72px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 80% 30%, rgb(95 211 200 / 12%), transparent 28%),
    radial-gradient(circle at 10% 85%, rgb(255 122 107 / 13%), transparent 28%),
    white;
  box-shadow: var(--shadow);
}

.story-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  color: var(--coral);
}

.story-mark i {
  width: 1px;
  height: 180px;
  background: linear-gradient(var(--coral), var(--mint));
}

.story-mark span:last-child {
  color: var(--mint);
}

.story-copy h2 strong {
  color: var(--coral);
}

.story-copy h3 {
  margin: 33px 0 14px;
  font-size: 18px;
}

.story-copy > p:not(.section-kicker) {
  margin: 11px 0;
  color: #7f7978;
  font-size: 13px;
  line-height: 2;
}

.story-video {
  overflow: hidden;
  padding: 12px;
  border-radius: 30px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px #eee6e3;
}

.story-video video {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 21px;
  background: #202025;
  object-fit: cover;
}

.guide {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 90px;
}

.guide-intro .button {
  margin-top: 18px;
}

.guide-list {
  display: grid;
  gap: 11px;
}

.guide-list a {
  display: grid;
  grid-template-columns: 47px 1fr 30px;
  align-items: center;
  gap: 17px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.guide-list a:hover {
  transform: translateX(5px);
  border-color: rgb(255 122 107 / 45%);
}

.guide-list > a > span {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  border-radius: 14px;
  background: var(--peach);
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 900;
}

.guide-list div {
  display: grid;
  gap: 3px;
}

.guide-list strong {
  font-size: 14px;
}

.guide-list small {
  color: #aaa4a2;
  font-size: 11px;
}

.guide-list i {
  color: var(--mint-dark);
  font-style: normal;
}

.release {
  position: relative;
  overflow: hidden;
  margin: 30px 24px 0;
  padding: 110px 30px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 15% 20%, rgb(255 255 255 / 60%), transparent 20%),
    linear-gradient(135deg, #fff0eb, #f2faf8);
  text-align: center;
}

.release > div {
  position: relative;
  z-index: 2;
}

.release > div > p:first-child {
  color: var(--mint-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.release > div > p:not(:first-child) {
  margin-bottom: 29px;
  color: #85807e;
  font-size: 14px;
}

.release-spark {
  position: absolute;
  color: rgb(255 122 107 / 35%);
  font-size: 82px;
}

.spark-left {
  top: 28%;
  left: 8%;
}

.spark-right {
  right: 9%;
  bottom: 20%;
  color: rgb(95 211 200 / 40%);
}

footer {
  display: grid;
  width: min(1280px, calc(100% - 48px));
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  margin: 0 auto;
  padding: 62px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  color: #817b79;
  font-size: 11px;
}

.footer-x-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}

.footer-x-link.is-disabled {
  cursor: default;
  opacity: 0.62;
  pointer-events: none;
}

.footer-x-icon {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: #111;
  transform: translateY(-1px);
}

.official-x-link {
  color: var(--coral-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* FAQ, contact and account deletion */
.faq-hero,
.contact-hero {
  padding-bottom: 70px;
}

.faq-list {
  display: grid;
  width: min(980px, calc(100% - 48px));
  gap: 24px;
  margin: 0 auto 95px;
}

.faq-category {
  padding: 36px clamp(22px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: 0 12px 38px rgb(77 60 55 / 6%);
}

.faq-category > h2 {
  margin: 10px 0 25px;
  font-size: clamp(22px, 3vw, 32px);
}

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

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

.faq-category summary {
  position: relative;
  padding: 20px 44px 20px 2px;
  cursor: pointer;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
  list-style: none;
}

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

.faq-category summary::after {
  position: absolute;
  top: 50%;
  right: 5px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--peach);
  color: var(--coral-dark);
  content: "+";
  font-size: 19px;
  line-height: 27px;
  text-align: center;
  transform: translateY(-50%);
}

.faq-category details[open] summary::after {
  content: "−";
}

.faq-category details > div {
  padding: 0 12px 22px 4px;
  color: #77716f;
  font-size: 13px;
  line-height: 1.95;
}

.faq-category details ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 1.35em;
}

.faq-category details a {
  color: var(--coral-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-contact-band {
  display: flex;
  width: min(980px, calc(100% - 48px));
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 0 auto 90px;
  padding: 38px 44px;
  border-radius: 30px;
  background: linear-gradient(135deg, #fff0eb, #edf9f7);
}

.faq-contact-band h2,
.faq-contact-band p {
  margin: 9px 0 0;
}

.faq-contact-band h2 {
  font-size: 28px;
}

.faq-contact-band p:last-child {
  color: #827c7a;
  font-size: 12px;
  line-height: 1.8;
}

.faq-contact-band .button {
  flex: 0 0 auto;
}

.contact-grid {
  display: grid;
  width: min(980px, calc(100% - 48px));
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 auto 34px;
}

.contact-card {
  display: flex;
  min-height: 310px;
  align-items: flex-start;
  flex-direction: column;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.contact-card-wide {
  grid-column: 1 / -1;
  min-height: 290px;
  background: linear-gradient(135deg, white 45%, #f0fbf9);
}

.contact-card > span {
  color: var(--mint-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
}

.contact-card h2 {
  margin: 15px 0 10px;
  font-size: 26px;
}

.contact-card p {
  max-width: 650px;
  margin: 0 0 25px;
  color: #827c7a;
  font-size: 13px;
  line-height: 1.9;
}

.contact-card .button {
  margin-top: auto;
}

.contact-card small {
  margin-top: 13px;
  color: var(--muted);
  font-size: 10px;
}

.contact-safety {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto 85px;
  padding: 30px 36px;
  border-radius: 24px;
  background: #fff0eb;
}

.contact-safety h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.contact-safety ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.4em;
  color: #797270;
  font-size: 12px;
  line-height: 1.8;
}

.deletion-hero {
  padding-bottom: 45px;
}

.deletion-primary {
  margin-bottom: 42px;
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff0eb, #edf9f7);
}

.deletion-primary h2 {
  margin-top: 10px;
}

.step-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgb(255 255 255 / 75%);
}

.step-list span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  font-size: 11px;
  font-weight: 900;
}

.deletion-mail-button {
  display: inline-flex;
  margin-top: 18px;
}

.deletion-email {
  color: var(--muted);
  font-size: 11px;
}

.deletion-cases {
  display: grid;
  gap: 12px;
}

.deletion-cases > div {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fdfbfa;
}

.deletion-cases strong {
  color: var(--ink);
}

.deletion-cases p {
  margin: 5px 0 0;
}

.deletion-warning {
  border-left-color: var(--coral);
  background: #fff0eb;
}

.deletion-warning ul {
  margin-bottom: 0;
}

footer > p {
  color: #aaa5a3;
  font-size: 10px;
}

.wp-admin-bar .site-header {
  top: 32px;
}

.news-section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0;
}

.news-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.news-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 3vw, 45px);
}

.news-heading > a {
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 800;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-card {
  display: grid;
  min-height: 180px;
  align-content: space-between;
  gap: 30px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 12px 36px rgb(77 60 55 / 6%);
  transition: transform 180ms ease, border-color 180ms ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgb(255 122 107 / 45%);
}

.news-card time {
  color: var(--mint-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.news-card h3 {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.6;
}

.news-card span {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 800;
}

.content-page {
  width: min(900px, calc(100% - 48px));
  min-height: 65vh;
  margin: 0 auto;
  padding: 80px 0 120px;
}

.content-page h1 {
  margin: 0 0 35px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.35;
}

.content-page .entry-content {
  color: #6f6a68;
  font-size: 16px;
  line-height: 2;
}

.content-page .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
}

.post-meta {
  margin-bottom: 18px;
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 800;
}

.empty-news {
  grid-column: 1 / -1;
  padding: 35px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
}

.subpage {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 4%, rgb(255 122 107 / 9%), transparent 22%),
    radial-gradient(circle at 90% 15%, rgb(95 211 200 / 8%), transparent 22%),
    var(--paper);
}

.subpage-header {
  display: flex;
  width: min(1220px, calc(100% - 48px));
  height: 86px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.subpage-header nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 999px;
  background: rgb(255 255 255 / 82%);
  box-shadow: 0 10px 34px rgb(76 62 58 / 8%);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(14px);
}

.subpage-header nav > a:not(.nav-cta) {
  padding: 9px 13px;
}

.subpage-hero {
  width: min(940px, calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0 105px;
  text-align: center;
}

.subpage-hero h1 {
  margin: 17px 0 23px;
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.06em;
  line-height: 1.34;
}

.subpage-hero > p:last-child {
  max-width: 690px;
  margin: 0 auto;
  color: #85807e;
  font-size: 15px;
  line-height: 2;
}

.walkthrough {
  display: grid;
  gap: 120px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 130px;
}

.walkthrough-step {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: center;
  gap: 84px;
}

/* WordPress 7 adds a layout wrapper after blocks are edited. Keep the
   designed two-column layout with either the original or wrapped markup. */
.walkthrough-step:has(> .wp-block-group__inner-container) {
  display: block;
}

.walkthrough-step > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: center;
  gap: 84px;
}

.walkthrough-step.reverse .walkthrough-copy {
  order: 2;
}

.walkthrough-step.reverse .screen-card {
  order: 1;
}

.walkthrough-step.reverse > .wp-block-group__inner-container > .walkthrough-copy {
  order: 2;
}

.walkthrough-step.reverse > .wp-block-group__inner-container > .screen-card {
  order: 1;
}

.walkthrough-copy {
  position: relative;
}

.walkthrough-number {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 17px;
  background: var(--peach);
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
}

.walkthrough-copy h2,
.mask-explainer h2,
.setup-finish h2,
.plan-feature h2,
.reply-style h2 {
  margin: 12px 0 19px;
  font-size: clamp(29px, 3.2vw, 46px);
  letter-spacing: -0.045em;
  line-height: 1.4;
}

.walkthrough-copy > p:not(.section-kicker),
.mask-explainer > div > p:not(.section-kicker),
.setup-copy > p:not(.section-kicker),
.plan-copy > p:not(.section-kicker),
.reply-style > div > p:not(.section-kicker) {
  color: #888281;
  font-size: 14px;
  line-height: 2;
}

.guide-editor-content .wp-block-list {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding-left: 1.35em;
  color: #888281;
  font-size: 13px;
  line-height: 1.85;
}

.guide-editor-content .wp-block-list li::marker {
  color: var(--coral);
}

.guide-editor-content figure {
  margin-top: 0;
  margin-bottom: 0;
}

.screen-card {
  max-height: 650px;
  overflow: hidden;
  padding: 13px;
  border: 1px solid rgb(235 228 225 / 86%);
  border-radius: 34px;
  background: white;
  box-shadow: var(--shadow);
}

.screen-card img {
  display: block;
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  object-position: top;
}

.screen-card.guide-screen {
  width: min(100%, 480px);
  max-height: none;
  justify-self: center;
  overflow: visible;
}

.screen-card.guide-screen img {
  height: auto;
  object-fit: contain;
}

.choice-note {
  display: grid;
  gap: 9px;
  margin-top: 27px;
  padding: 19px 21px;
  border-radius: 18px;
  background: white;
  color: #77716f;
  box-shadow: 0 10px 30px rgb(80 62 57 / 6%);
  font-size: 12px;
}

.choice-note strong {
  color: var(--coral-dark);
}

.mask-explainer {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 80px;
  margin: 0 auto 130px;
  padding: 76px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 84% 14%, rgb(95 211 200 / 14%), transparent 25%),
    white;
  box-shadow: var(--shadow);
}

.mask-explainer:has(> .wp-block-group__inner-container) {
  display: block;
}

.mask-explainer > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 80px;
}

.mask-screen {
  max-height: 570px;
  background: var(--paper);
}

.tip-box {
  display: grid;
  gap: 4px;
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--mint);
  border-radius: 6px 18px 18px 6px;
  background: #eefaf8;
  color: #797371;
  font-size: 12px;
  line-height: 1.7;
}

.tip-box strong {
  color: var(--mint-dark);
}

.setup-finish {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 70px;
  margin: 0 auto;
  padding: 25px 0 130px;
}

.setup-finish:has(> .wp-block-group__inner-container) {
  display: block;
}

.setup-finish > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 70px;
}

.setup-screens {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.setup-screens:has(> .wp-block-group__inner-container) {
  display: block;
}

.setup-screens > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.setup-screens figure {
  margin: 0;
  overflow: hidden;
  padding: 10px 10px 17px;
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.setup-screens img {
  display: block;
  width: 100%;
  max-height: 520px;
  border-radius: 20px;
  object-fit: cover;
  object-position: top;
}

.setup-screens figcaption {
  padding-top: 14px;
  color: #777270;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.next-page-cta {
  margin: 0 24px;
  padding: 80px 24px;
  border-radius: 38px 38px 0 0;
  background: linear-gradient(135deg, #fff0eb, #edf9f7);
  text-align: center;
}

.next-page-cta p {
  margin: 0 0 20px;
  color: #827c7a;
  font-size: 13px;
  font-weight: 700;
}

.next-page-cta .wp-block-buttons {
  justify-content: center;
}

.next-page-cta .wp-block-button__link {
  display: inline-flex;
  min-height: 55px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 14px 30px rgb(255 122 107 / 27%);
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.guide-single-section {
  padding-top: 110px;
}

.feature-page-hero {
  padding-bottom: 95px;
}

.plan-feature,
.reply-style {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  grid-template-columns: 0.84fr 1.16fr;
  align-items: center;
  gap: 84px;
  margin: 0 auto;
  padding-bottom: 130px;
}

.feature-screen {
  width: min(100%, 480px);
  max-height: none;
  justify-self: center;
}

.screen-card.feature-screen img {
  height: auto;
  object-fit: contain;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 31px;
}

.mode-grid article {
  display: grid;
  gap: 7px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}

.mode-grid span {
  color: #aaa4a2;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.mode-grid strong {
  font-size: 18px;
}

.mode-grid small {
  color: #9b9694;
  font-size: 10px;
}

.mode-grid .premium-mode {
  border-color: rgb(95 211 200 / 55%);
  background: #eaf9f7;
}

.mode-grid .premium-mode span {
  color: var(--mint-dark);
}

.reply-style {
  grid-template-columns: 1.1fr 0.9fr;
}

.multi-assistant {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
  padding: 15px 0 130px;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.demo-grid figure {
  margin: 0;
  overflow: hidden;
  padding: 13px 13px 22px;
  border-radius: 30px;
  background: white;
  box-shadow: var(--shadow);
}

.demo-grid video {
  display: block;
  width: 100%;
  max-height: 570px;
  border-radius: 21px;
  background: #252329;
  object-fit: contain;
}

.demo-grid figcaption {
  display: grid;
  gap: 4px;
  padding: 18px 10px 0;
}

.demo-grid figcaption strong {
  font-size: 15px;
}

.demo-grid figcaption span {
  color: #999391;
  font-size: 11px;
}

@media (max-width: 1080px) {
  .site-header {
    width: calc(100% - 40px);
  }

  .nav-links {
    gap: 3px;
  }

  .hero-copy {
    width: calc(100% - 40px);
  }

  .hero-art {
    opacity: 0.73;
    transform: translateX(11%);
  }

  .overlay-showcase {
    gap: 45px;
  }

  .community {
    gap: 45px;
  }

  .expression-row {
    grid-template-columns: repeat(3, 1fr);
    max-width: 800px;
    margin: 0 auto;
  }

  .story {
    grid-template-columns: 0.09fr 1fr 0.8fr;
    padding: 65px 40px;
  }

  .walkthrough-step,
  .walkthrough-step > .wp-block-group__inner-container,
  .plan-feature,
  .reply-style {
    gap: 45px;
  }

  .mask-explainer,
  .mask-explainer > .wp-block-group__inner-container {
    gap: 45px;
  }

  .mask-explainer {
    padding: 56px;
  }

  .setup-finish,
  .setup-finish > .wp-block-group__inner-container {
    gap: 45px;
  }
}

@media (max-width: 760px) {
  .wp-admin-bar .site-header {
    top: 46px;
  }

  .news-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .site-header {
    position: absolute;
    width: calc(100% - 32px);
    height: 72px;
  }

  .wordmark-en {
    font-size: 23px;
  }

  .wordmark-ja {
    font-size: 12px;
  }

  .menu-button {
    position: relative;
    z-index: 22;
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 6px;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / 87%);
    box-shadow: 0 8px 24px rgb(70 57 53 / 9%);
  }

  .menu-button span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: #5f5a59;
  }

  .nav-links {
    position: absolute;
    top: 62px;
    right: 0;
    display: none;
    width: min(280px, calc(100vw - 32px));
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border-radius: 22px;
    background: rgb(255 255 255 / 96%);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 13px 14px;
  }

  .nav-cta {
    margin-top: 5px;
    text-align: center;
  }

  .subpage-header {
    position: relative;
    width: calc(100% - 32px);
    height: 72px;
    overflow: visible;
    z-index: 40;
  }

  .subpage-header .subpage-menu-button {
    display: grid;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .subpage-header .subpage-nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    display: none;
    width: min(280px, calc(100vw - 32px));
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 16px;
    box-sizing: border-box;
    border: 1px solid rgb(230 219 215 / 75%);
    border-radius: 22px;
    background: rgb(255 255 255 / 96%);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    z-index: 50;
  }

  .subpage-header .subpage-nav-links.is-open {
    display: grid;
  }

  .subpage-header .subpage-nav-links > a,
  .subpage-header .subpage-nav-links > a:not(.nav-cta) {
    display: block;
    width: 100%;
    margin: 0;
    padding: 13px 14px;
    box-sizing: border-box;
  }

  .subpage-header .subpage-nav-links .nav-cta {
    margin-top: 5px;
    padding: 13px 14px;
    text-align: center;
  }

  .subpage-hero {
    width: calc(100% - 36px);
    padding: 78px 0 72px;
  }

  .subpage-hero h1 {
    font-size: 36px;
  }

  .subpage-hero > p:last-child {
    font-size: 13px;
    line-height: 1.9;
  }

  .walkthrough {
    width: calc(100% - 34px);
    gap: 84px;
    padding-bottom: 90px;
  }

  .walkthrough-step,
  .walkthrough-step.reverse {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 31px;
  }

  .walkthrough-step:has(> .wp-block-group__inner-container),
  .walkthrough-step.reverse:has(> .wp-block-group__inner-container) {
    display: block;
  }

  .walkthrough-step > .wp-block-group__inner-container,
  .walkthrough-step.reverse > .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 31px;
  }

  .walkthrough-step.reverse .walkthrough-copy,
  .walkthrough-step.reverse .screen-card {
    order: initial;
  }

  .walkthrough-step.reverse > .wp-block-group__inner-container > .walkthrough-copy,
  .walkthrough-step.reverse > .wp-block-group__inner-container > .screen-card {
    order: initial;
  }

  .walkthrough-copy {
    text-align: center;
  }

  .walkthrough-number {
    margin-right: auto;
    margin-left: auto;
  }

  .screen-card {
    max-height: 610px;
    padding: 8px;
    border-radius: 26px;
  }

  .screen-card img {
    border-radius: 20px;
  }

  .screen-card.guide-screen {
    width: min(100%, 430px);
    max-height: none;
  }

  .choice-note {
    text-align: left;
  }

  .mask-explainer,
  .setup-finish,
  .plan-feature,
  .reply-style {
    display: flex;
    width: calc(100% - 34px);
    flex-direction: column;
    align-items: stretch;
    gap: 34px;
  }

  .mask-explainer:has(> .wp-block-group__inner-container),
  .setup-finish:has(> .wp-block-group__inner-container) {
    display: block;
  }

  .mask-explainer > .wp-block-group__inner-container,
  .setup-finish > .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 34px;
  }

  .mask-explainer {
    margin-bottom: 90px;
    padding: 37px 20px;
    border-radius: 30px;
  }

  .setup-finish,
  .plan-feature,
  .reply-style {
    padding-bottom: 90px;
  }

  .setup-copy,
  .plan-copy,
  .reply-style > div:not(.screen-card) {
    text-align: center;
  }

  .reply-style .screen-card {
    order: 2;
  }

  .reply-style > div:not(.screen-card) {
    order: 1;
  }

  .reply-style .feature-chips {
    justify-content: center;
  }

  .setup-screens {
    gap: 11px;
  }

  .setup-screens > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .setup-screens figure {
    padding: 7px 7px 14px;
    border-radius: 20px;
  }

  .setup-screens img {
    max-height: 390px;
    border-radius: 15px;
  }

  .mode-grid {
    text-align: left;
  }

  .multi-assistant {
    width: calc(100% - 34px);
    padding-bottom: 90px;
  }

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

  .next-page-cta {
    margin: 0 12px;
    padding: 62px 20px;
    border-radius: 30px 30px 0 0;
  }

  .hero {
    display: flex;
    min-height: 940px;
    flex-direction: column;
  }

  .hero-copy {
    width: calc(100% - 34px);
    padding-top: 112px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: 33px;
    letter-spacing: -0.055em;
    line-height: 1.42;
  }

  .mobile-break {
    display: initial;
  }

  .desktop-break {
    display: none;
  }

  .hero-lead {
    max-width: 92%;
    font-size: 14px;
    line-height: 1.9;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
  }

  .hero-actions .text-link {
    display: none;
  }

  .button {
    min-height: 52px;
    padding: 0 23px;
    font-size: 13px;
  }

  .availability {
    margin-top: 17px;
  }

  .hero-art {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 455px;
    opacity: 1;
    transform: none;
  }

  .hero-image,
  .hero-blink-overlay {
    object-position: 72% 50%;
  }

  .orbit-one {
    right: -35%;
    bottom: 5%;
  }

  .orbit-two {
    right: 18%;
    bottom: 8%;
  }

  .glint-one {
    top: 21%;
    right: 65%;
  }

  .quick-intro {
    display: block;
    margin-top: -18px;
    padding: 20px 23px;
    border-radius: 20px;
  }

  .community {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
  }

  .community-copy {
    text-align: center;
  }

  .community-copy > p:not(.section-kicker) {
    margin-right: auto;
    margin-left: auto;
  }

  .community-copy .feature-chips {
    justify-content: center;
  }

  .community-visual {
    width: min(100%, 430px);
    max-height: none;
    padding: 10px;
    border-radius: 28px;
  }

  .community-visual img {
    height: auto;
    border-radius: 21px;
  }

  .screen-card.feature-screen {
    width: min(100%, 430px);
    max-height: none;
  }

  .community-badge {
    top: 22px;
    right: 22px;
  }

  .quick-intro > p {
    margin: 0 0 14px;
    text-align: center;
  }

  .quick-intro > div {
    justify-content: center;
    gap: 10px;
    font-size: 11px;
  }

  .quick-intro i {
    width: 3px;
    height: 3px;
  }

  .section {
    width: calc(100% - 34px);
    padding: 92px 0;
  }

  .section-heading {
    margin-bottom: 38px;
    text-align: left;
  }

  .section-heading h2,
  .feature-copy h2,
  .story-copy h2,
  .guide-intro h2,
  .release h2 {
    font-size: 31px;
    line-height: 1.45;
  }

  .section-heading > p:last-child,
  .feature-copy > p,
  .guide-intro > p {
    font-size: 13px;
  }

  .step-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-grid article {
    min-height: auto;
    padding: 25px;
  }

  .step-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    border-radius: 18px;
    font-size: 24px;
  }

  .step-grid h3 {
    font-size: 17px;
  }

  .overlay-showcase {
    display: flex;
    flex-direction: column-reverse;
    gap: 38px;
  }

  .feature-copy {
    padding-right: 0;
  }

  .video-shell {
    width: 100%;
    padding: 10px;
    border-radius: 23px;
  }

  .video-shell video {
    border-radius: 16px;
  }

  .video-label {
    top: 20px;
    left: 20px;
  }

  .expressions {
    width: calc(100% - 22px);
  }

  .expressions .section-heading {
    width: calc(100% - 12px);
  }

  .expression-row {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 0 6px 22px;
    scroll-snap-type: x mandatory;
  }

  .expression-row figure {
    width: 42vw;
    min-width: 42vw;
    scroll-snap-align: center;
  }

  .expression-crop {
    border-width: 6px;
    border-radius: 22px;
  }

  .story {
    display: flex;
    width: calc(100% - 22px);
    flex-direction: column;
    gap: 35px;
    margin-top: 10px;
    padding: 54px 24px 24px;
    border-radius: 30px;
  }

  .story-mark {
    display: none;
  }

  .story-video {
    width: 100%;
  }

  .story-video video {
    aspect-ratio: 9 / 14;
  }

  .guide {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .guide-list a {
    grid-template-columns: 43px 1fr 22px;
    padding: 15px;
  }

  .release {
    margin: 10px;
    padding: 84px 23px;
    border-radius: 30px;
  }

  .release > div > p:not(:first-child) {
    font-size: 13px;
    line-height: 1.8;
  }

  .release-spark {
    font-size: 46px;
  }

  footer {
    display: flex;
    width: calc(100% - 34px);
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
    padding: 47px 0;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 16px 25px;
    justify-content: start;
  }
}

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

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

.legal-hero {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0 55px;
  text-align: center;
}

.legal-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(40px, 5vw, 66px);
  letter-spacing: -0.05em;
}

.legal-hero > p:last-child {
  color: var(--muted);
  font-size: 12px;
}

.legal-document {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto 90px;
  padding: 58px clamp(24px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: white;
  box-shadow: var(--shadow);
  color: #706a68;
  font-size: 14px;
  line-height: 2;
}

.legal-document h2 {
  margin: 44px 0 10px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.55;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document h3 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

.legal-document ul {
  display: grid;
  gap: 8px;
  padding-left: 1.4em;
}

.legal-document a {
  color: var(--coral-dark);
  font-weight: 800;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 18px 0 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  background: #fdfbfa;
  text-align: left;
}

.legal-table th,
.legal-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.legal-table th {
  background: #fff0eb;
  color: var(--ink);
  font-size: 12px;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.deletion-verification-note {
  margin: 32px 0 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: #eefaf8;
}

.legal-note {
  margin-top: 46px;
  padding: 23px 25px;
  border-left: 3px solid var(--mint);
  border-radius: 5px 18px 18px 5px;
  background: #eefaf8;
}

.legal-note strong {
  color: var(--mint-dark);
}

.legal-note p {
  margin-bottom: 0;
}

.test-page-hero {
  padding-bottom: 75px;
}

.test-overview {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 auto 105px;
}

.test-overview article {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
  box-shadow: 0 12px 38px rgb(77 60 55 / 6%);
}

.test-overview article > span {
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 900;
}

.test-overview h2 {
  margin: 17px 0 11px;
  font-size: 20px;
}

.test-overview p {
  margin: 0;
  color: #85807e;
  font-size: 13px;
  line-height: 1.9;
}

.test-flow {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: 70px;
  margin: 0 auto 100px;
}

.test-flow h2 {
  margin: 12px 0 28px;
  font-size: clamp(30px, 3.4vw, 48px);
}

.test-flow ol {
  display: grid;
  gap: 18px;
  padding: 0;
  list-style: none;
}

.test-flow li {
  display: grid;
  gap: 5px;
  padding: 21px 23px;
  border-left: 3px solid var(--mint);
  border-radius: 5px 18px 18px 5px;
  background: white;
}

.test-flow li strong {
  font-size: 14px;
}

.test-flow li span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.test-apply-card {
  display: grid;
  gap: 17px;
  padding: 38px;
  border-radius: 30px;
  background: linear-gradient(145deg, #fff0eb, #edf9f7);
  box-shadow: var(--shadow);
}

.test-apply-card > p:first-child {
  margin: 0;
  color: var(--mint-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.test-apply-card h2,
.test-apply-card p {
  margin: 0;
}

.test-apply-card > p:not(:first-child),
.test-apply-card small {
  color: #827c7a;
  font-size: 12px;
  line-height: 1.8;
}

.test-application-form {
  margin-top: 6px;
}

.ispeai-form {
  display: grid;
  gap: 20px;
}

.ispeai-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ispeai-form__field label,
.ispeai-form__confirmations legend {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.65;
}

.ispeai-form__required,
.ispeai-form__optional {
  display: inline-block;
  margin-left: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9px;
  line-height: 1.5;
}

.ispeai-form__required {
  background: #ffe1db;
  color: var(--coral-dark);
}

.ispeai-form__optional {
  background: #e8f7f5;
  color: var(--mint-dark);
}

.ispeai-form input[type="text"],
.ispeai-form input[type="email"],
.ispeai-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid #e3dad7;
  border-radius: 13px;
  outline: none;
  background: rgb(255 255 255 / 90%);
  color: var(--ink);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ispeai-form textarea {
  min-height: 118px;
  resize: vertical;
}

.ispeai-form input:focus,
.ispeai-form textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgb(95 211 200 / 16%);
}

.ispeai-form__hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.ispeai-form__confirmations {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 17px;
  border: 1px solid #e3dad7;
  border-radius: 16px;
  background: rgb(255 255 255 / 62%);
}

.ispeai-form__confirmations legend {
  padding: 0 7px;
}

.ispeai-form__confirmations .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.ispeai-form__confirmations label {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 8px;
  color: #716b69;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
}

.ispeai-form__confirmations input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--coral);
}

.ispeai-form__submit input[type="submit"] {
  width: 100%;
  min-height: 55px;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 10px 24px rgb(232 95 84 / 22%);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.ispeai-form .wpcf7-not-valid-tip,
.ispeai-form .wpcf7-response-output {
  color: #bf4339;
  font-size: 11px;
  line-height: 1.7;
}

.ispeai-form .wpcf7-response-output {
  margin: 0;
  padding: 12px 14px;
  border-color: var(--coral);
  border-radius: 12px;
}

.ispeai-form__label-text {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
}

.ispeai-form__required,
.ispeai-form__optional {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: 0;
  white-space: nowrap;
}

.ispeai-form select {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid #e3dad7;
  border-radius: 13px;
  outline: none;
  background: rgb(255 255 255 / 90%);
  color: var(--ink);
  font: inherit;
}

.ispeai-form select:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgb(95 211 200 / 16%);
}

.ispeai-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-weight: 800;
}

.ispeai-form .wpcf7-submit:disabled {
  opacity: 1;
  cursor: pointer;
}

.contact-application-form,
.deletion-application-form {
  width: 100%;
  margin-top: 24px;
}

.contact-card-wide .ispeai-form {
  text-align: left;
}

.test-mail-fallback {
  margin-top: 0 !important;
  font-size: 10px !important;
  text-align: center;
}

.test-mail-fallback a {
  color: var(--coral-dark);
  font-weight: 800;
  text-decoration: underline;
}

.button.disabled {
  cursor: not-allowed;
  background: #d9d4d2;
  color: white;
  box-shadow: none;
}

.compact-legal {
  margin-bottom: 40px;
}

.compact-legal h2 {
  margin-top: 0;
}

@media (max-width: 760px) {
  .legal-hero {
    width: calc(100% - 34px);
    padding: 75px 0 38px;
  }

  .legal-hero h1 {
    font-size: 35px;
  }

  .legal-document {
    width: calc(100% - 24px);
    margin-bottom: 55px;
    padding: 34px 20px;
    border-radius: 25px;
    font-size: 13px;
  }

  .legal-document h2 {
    margin-top: 35px;
    font-size: 18px;
  }

  .test-overview,
  .test-flow {
    width: calc(100% - 34px);
    grid-template-columns: 1fr;
  }

  .test-overview {
    gap: 12px;
    margin-bottom: 75px;
  }

  .test-overview article {
    padding: 25px;
  }

  .test-flow {
    gap: 40px;
    margin-bottom: 75px;
  }

  .test-apply-card {
    padding: 28px 23px;
  }

  .ispeai-form__grid {
    grid-template-columns: 1fr;
  }

  .ispeai-form__label-text {
    font-size: clamp(12px, 3.6vw, 13px);
  }

  .faq-list,
  .faq-contact-band,
  .contact-grid,
  .contact-safety {
    width: calc(100% - 24px);
  }

  .faq-list {
    gap: 14px;
    margin-bottom: 55px;
  }

  .faq-category {
    padding: 27px 19px;
    border-radius: 24px;
  }

  .faq-category > h2 {
    margin-bottom: 18px;
    font-size: 21px;
  }

  .faq-category summary {
    padding: 18px 39px 18px 1px;
    font-size: 14px;
  }

  .faq-category details > div {
    padding-right: 2px;
    font-size: 12px;
  }

  .faq-contact-band {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 55px;
    padding: 28px 23px;
  }

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

  .contact-card-wide {
    grid-column: auto;
  }

  .contact-card {
    min-height: 285px;
    padding: 28px 23px;
  }

  .contact-card h2 {
    font-size: 22px;
  }

  .contact-safety {
    margin-bottom: 55px;
    padding: 25px 22px;
  }

  .deletion-primary {
    padding: 24px 19px;
  }

  .step-list li {
    align-items: flex-start;
  }

  .deletion-mail-button {
    width: 100%;
    justify-content: center;
  }
}
