:root {
  color-scheme: light;
  font-family: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, system-ui, sans-serif;
  color: #142f3b;
  background: #fff;
  line-height: 1.8;
  --ink: #142f3b;
  --muted: #49616a;
  --deep: #0b2630;
  --teal: #0c6559;
  --teal-dark: #074c43;
  --light: #eaf4f3;
  --line: #ccdcde;
  --pale: #f2f7f7;
  --mint: #b8f0db;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.35; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.035em; overflow-wrap: anywhere; }
h3 { font-size: 1.125rem; }
a { color: var(--teal); text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-dark); }
a:focus-visible, summary:focus-visible { outline: 3px solid #157b6c; outline-offset: 4px; }
.hero a:focus-visible, .contact a:focus-visible { outline-color: var(--mint); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

.wrap { width: min(100% - 3.5rem, 74rem); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 6.6vw, 6.4rem); }
.pale { background: var(--pale); }
.section-heading { max-width: 48rem; margin-bottom: 1.85rem; }
.section-heading p { color: var(--muted); margin-top: .65rem; }
.section-heading .text-link { margin-top: .85rem; }
.split { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr); gap: clamp(2rem, 6vw, 5.5rem); }
.split .section-heading { margin-bottom: 0; }
.skip-link {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 5;
  padding: .5rem .85rem;
  background: white;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.site-header { background: white; }
.header-inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.brand {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  white-space: nowrap;
}
.brand-symbol {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: .55rem;
  background: var(--deep);
  display: grid;
  place-items: center;
  color: var(--mint);
}
.brand-symbol::before {
  content: "";
  width: 1.08rem;
  height: 1.08rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  transform: rotate(-43deg);
  border-radius: 50%;
}
.brand-symbol::after {
  content: "";
  position: absolute;
  width: .25rem;
  height: .25rem;
  background: currentColor;
  border-radius: 50%;
}
.wordmark { display: grid; row-gap: .23rem; line-height: 1; }
.wordmark b { font: 800 1.42rem/1 system-ui, sans-serif; letter-spacing: .055em; }
.wordmark span { font-size: .75rem; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: clamp(.65rem, 2.2vw, 2rem); }
.main-nav a { min-height: 44px; display: grid; align-items: center; color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 700; white-space: nowrap; }
.main-nav a:hover { text-decoration: underline; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 3.25rem;
  padding: .69rem 1.3rem;
  border: 1px solid transparent;
  border-radius: .34rem;
  color: white;
  background: var(--teal);
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}
.button:hover { color: white; background: var(--teal-dark); }
.button-small { min-height: 2.75rem; padding-inline: 1.05rem; font-size: .9rem; }
.button-light { background: var(--mint); color: #0c312b; }
.button-light:hover { color: #0c312b; background: #d3faeb; }
.button-outline { background: transparent; border-color: #90b0ba; color: #f2fcfd; }
.button-outline:hover { background: #214653; border-color: #d6e9ed; }
.text-link { display: inline-block; font-weight: 700; padding-block: .22rem; }

.hero {
  background: var(--deep);
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  min-height: clamp(29rem, 37vw, 33rem);
  position: relative;
}
.hero-copy { padding-block: 3.75rem; position: relative; z-index: 1; }
.eyebrow { color: var(--mint); font-size: .9rem; font-weight: 750; letter-spacing: .065em; margin-bottom: 1.15rem; }
.hero h1 {
  font-size: clamp(2.75rem, 5vw, 4.55rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.12;
  word-break: auto-phrase;
}
.hero-lead { max-width: 28rem; color: #d4e6eb; margin-block: 1.4rem 1.65rem; }
.hero-art {
  position: absolute;
  width: min(63%, 50rem);
  height: 100%;
  right: max(-19vw, calc((74rem - 100vw) / 2));
  top: 0;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 51% 48%; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--deep) 0%, rgb(11 38 48 / .47) 13%, transparent 43%);
  pointer-events: none;
}
.hero-art figcaption {
  position: absolute;
  z-index: 1;
  bottom: 1rem;
  right: 1.25rem;
  border-radius: .24rem;
  background: rgb(9 28 36 / .88);
  padding: .25rem .5rem;
  font-size: .78rem;
  color: #e4eff1;
}
.first-aid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-top: 1.6rem;
  padding: 1.1rem 1.35rem;
  background: #fbf5e9;
  border: 1px solid #ead9b6;
  border-left: .25rem solid #b98435;
  border-radius: .36rem;
}
.alert-symbol {
  width: 1.85rem;
  height: 1.85rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ebd6af;
  color: #533507;
  font-weight: 800;
}
.first-aid h2 { font-size: 1.05rem; color: #583b0c; letter-spacing: 0; margin-bottom: .25rem; }
.first-aid p { font-size: .95rem; color: #544836; }
.first-aid a { white-space: nowrap; color: #604414; }

.device-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .95rem; align-items: start; }
.device, .resource { border: 1px solid var(--line); border-radius: .42rem; background: white; }
.device summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .42rem .4rem;
  padding: 1.2rem;
  border-radius: .42rem;
}
.device summary:hover, .device[open] summary { background: #eaf4f3; }
.device-icon {
  display: grid;
  place-items: center;
  border-radius: .48rem;
  background: #e8f4f1;
  color: #145d50;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: .5rem;
  grid-column: 1 / -1;
}
.device-icon::before, .device-icon::after { content: ""; grid-area: 1 / 1; }
.icon-hdd::before { width: 1.32rem; height: 1.55rem; border: 2px solid; border-radius: .18rem; }
.icon-hdd::after { width: .66rem; height: .66rem; border: 2px solid; border-radius: 50%; margin-bottom: .19rem; }
.icon-ssd::before { width: 1.55rem; height: .89rem; border: 2px solid; border-radius: .16rem; }
.icon-ssd::after { width: .52rem; height: .38rem; border: 1.5px solid; border-radius: .05rem; }
.icon-raid::before { height: .47rem; width: 1.53rem; border: 2px solid; border-radius: .11rem; transform: translateY(-.49rem); }
.icon-raid::after { height: .47rem; width: 1.53rem; border: 2px solid; border-radius: .11rem; transform: translateY(.25rem); }
.icon-sd::before { height: 1.49rem; width: 1.13rem; border: 2px solid; border-radius: .32rem .12rem .12rem .12rem; }
.icon-sd::after { height: .32rem; width: .48rem; border-top: 2px solid; transform: translateY(-.26rem); }
.device-title { grid-column: 1; font-size: 1.1rem; font-weight: 800; line-height: 1.45; }
.device-subtitle { grid-column: 1 / -1; grid-row: 3; color: var(--muted); font-size: .9rem; }
.device .expand { grid-column: 2; grid-row: 2; }
.expand {
  display: inline-block;
  flex: 0 0 1.1rem;
  width: 1.1rem;
  height: 1.1rem;
  position: relative;
  color: var(--teal);
}
.expand::before, .expand::after {
  content: "";
  background: currentColor;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% - 1px);
  height: 2px;
  border-radius: 2px;
}
.expand::after { transform: rotate(90deg); }
details[open] > summary .expand::after { transform: rotate(0); }
.device-body { border-top: 1px solid var(--line); padding: 1.1rem 1.2rem 1.2rem; }
.device-body p { margin-bottom: .55rem; color: var(--muted); }
.device-body a { display: block; }

.symptom-list { border-top: 1px solid var(--line); }
.symptom-list div { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.symptom-list dt { font-weight: 800; margin-bottom: .2rem; }
.symptom-list dd { color: var(--muted); }

.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem; }
.price-feature, .price-panel { padding: clamp(1.3rem, 3vw, 2.15rem); border-radius: .42rem; }
.price-feature { background: var(--deep); color: #fff; }
.price-feature h3, .price-panel h3 { font-size: 1.35rem; }
.price-feature p, .price-panel p { margin-block: .55rem .8rem; }
.price-feature p { color: #d4e6eb; }
.price-feature a { color: var(--mint); }
.price-feature a:focus-visible { outline-color: var(--mint); }
.price-panel { background: var(--light); border: 1px solid #d5e6e5; }
.price-panel p { color: var(--muted); }
.rate-links { list-style: none; display: flex; gap: .6rem; flex-wrap: wrap; margin: 1rem 0 0; padding: 0; }
.rate-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: .32rem;
  padding: .42rem .8rem;
  color: var(--teal);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
}
.rate-links a:hover { background: var(--light); text-decoration: underline; }

.flow-list {
  counter-reset: flow;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 0;
  list-style: none;
  margin: 0 0 1.25rem;
}
.flow-list li {
  counter-increment: flow;
  border-top: 1px solid #b7cfd1;
  padding-top: 1.05rem;
}
.flow-list li::before {
  content: counter(flow);
  color: var(--teal-dark);
  display: inline-grid;
  place-items: center;
  background: #d9ece7;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  margin-bottom: .65rem;
  font-weight: 800;
}
.flow-list p { margin-top: .45rem; color: var(--muted); }
.flow-links { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.5rem; row-gap: .1rem; }

.lab {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  max-width: 66rem;
  margin-inline: auto;
}
.lab-image img { width: 100%; height: auto; aspect-ratio: 7 / 5; object-fit: cover; border-radius: .38rem; }
.lab-image figcaption { color: var(--muted); font-size: .82rem; margin-top: .4rem; }
.lab-copy p { margin-block: .75rem; color: var(--muted); }

.accordion > details { border-top: 1px solid var(--line); }
.accordion > details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary, .resource summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .95rem;
  font-weight: 800;
}
.accordion summary:hover, .resource summary:hover { color: var(--teal); }
.accordion p { color: var(--muted); padding: 0 1.8rem 1rem 0; }
.accordion details > a { margin-bottom: .85rem; }

.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .95rem; align-items: start; }
.resource summary { padding-inline: 1.1rem; }
.resource ul { border-top: 1px solid var(--line); padding: .6rem 1rem .8rem 2.1rem; margin: 0; }
.resource a { display: inline-block; padding-block: .18rem; }

.contact { background: var(--deep); color: #fff; padding-block: clamp(2.7rem, 6vw, 4.35rem); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.4rem 2rem; }
.contact p { color: #d4e6eb; margin-top: .65rem; max-width: 35rem; }

.site-footer { background: #eaf3f3; padding-block: 1.5rem; }
.footer-inner, .footer-links { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.1rem; }
.footer-inner p, .footer-links a { font-size: .875rem; }

@media (max-width: 1060px) {
  .contact-inner { grid-template-columns: 1fr; }
  .device-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 840px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 1rem; padding-block: .75rem .3rem; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; }
  .header-inner > .button { grid-column: 2; grid-row: 1; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 1.5rem; }
  .first-aid { align-items: start; grid-template-columns: auto 1fr; gap: .45rem .8rem; }
  .first-aid a { grid-column: 2; justify-self: start; white-space: normal; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 2rem); }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-copy { padding: 2.3rem 0 1.55rem; }
  .hero h1 { font-size: clamp(2.5rem, 8.5vw, 3.65rem); }
  .hero-art { position: relative; inset: auto; margin-inline: -1rem; width: auto; height: clamp(13rem, 48vw, 22rem); }
  .hero-art img { object-position: center 53%; }
  .hero-art::after { background: linear-gradient(180deg, var(--deep), transparent 42%); }
  .hero-art figcaption { right: 1rem; bottom: .65rem; }
  .split, .lab { grid-template-columns: minmax(0, 1fr); }
  .lab-image { max-width: 27rem; }
  .lab-copy { grid-row: 1; }
  .symptoms-layout br { display: none; }
  .flow-list { grid-template-columns: 1fr 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
}

@media (max-width: 490px) {
  .main-nav { column-gap: .45rem; }
  .main-nav a { font-size: .875rem; }
  .button-small { padding-inline: .6rem; font-size: .875rem; }
  .hero .actions { align-items: stretch; }
  .hero .actions a { padding-inline: .67rem; font-size: .92rem; flex: 1 1 8rem; }
  .first-aid { padding: .85rem; }
  .device-grid, .pricing-grid, .flow-list { grid-template-columns: 1fr; }
  .device summary { grid-template-columns: auto minmax(0, 1fr) auto; gap: .15rem .8rem; padding: .85rem; }
  .device-icon { grid-column: 1; grid-row: 1 / span 2; margin-bottom: 0; }
  .device-title { grid-column: 2; grid-row: 1; }
  .device-subtitle { grid-column: 2; grid-row: 2; }
  .device .expand { grid-column: 3; grid-row: 1 / span 2; }
  .flow-list { gap: .95rem; }
  .flow-list li { padding-top: .8rem; display: grid; grid-template-columns: auto 1fr; gap: .1rem .75rem; }
  .flow-list li::before { grid-row: 1 / span 2; margin-bottom: 0; }
  .flow-list p { margin-top: 0; }
  .contact .actions { align-items: stretch; }
  .contact .actions a { flex: 1 1 12rem; }
  .footer-links { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
